453 条题解
-
0liuyuhan LV 4 @ 2009-07-24 08:53:11
program p1102(input,output);
var ab:array [0..11] of longint;
i,tall,zs:longint;
begin
for i:=1 to 10 do
read(ab[i]);
readln;
readln(tall);
zs:=0;
for i:=1 to 10 do
if tall+30>=ab[i]
then zs:=zs+1;
writeln(zs);
end. -
02009-07-23 15:51:55@
编译通过...
├ 测试数据 01:答案正确... 0ms
├ 测试数据 02:答案正确... 0ms
├ 测试数据 03:答案正确... 0ms
├ 测试数据 04:答案正确... 0ms
├ 测试数据 05:答案正确... 0ms
├ 测试数据 06:答案正确... 0ms
├ 测试数据 07:答案正确... 0ms
├ 测试数据 08:答案正确... 0ms
├ 测试数据 09:答案正确... 0ms
├ 测试数据 10:答案正确... 0ms
---|---|---|---|---|---|---|---|-
Accepted 有效得分:100 有效耗时:0msprogram p1102(input,output);
var ab:array [0..11] of longint;
i,tall,zs:longint;
begin
for i:=1 to 10 do
read(ab[i]);
readln;
readln(tall);
zs:=0;
for i:=1 to 10 do
if tall+30>=ab[i]
then zs:=zs+1;
writeln(zs);
end. -
02009-07-27 15:00:31@
太简单了.......
编译通过...
├ 测试数据 01:答案正确... 0ms
├ 测试数据 02:答案正确... 0ms
├ 测试数据 03:答案正确... 0ms
├ 测试数据 04:答案正确... 0ms
├ 测试数据 05:答案正确... 0ms
├ 测试数据 06:答案正确... 0ms
├ 测试数据 07:答案正确... 0ms
├ 测试数据 08:答案正确... 0ms
├ 测试数据 09:答案正确... 0ms
├ 测试数据 10:答案正确... 0ms
---|---|---|---|---|---|---|---|-
Accepted 有效得分:100 有效耗时:0msvar a:array[1..10] of integer;
s,b,c:integer;begin
for b:=1 to 10 do
read(a[ b ]);
read(s);
s:=s+30;
c:=0;
for b:=1 to 10 do
if s>=a[ b ] then c:=c+1;
write(c);end.
-
02009-07-21 10:22:59@
program vijos_P1102;
var
a:array[1..10] of 100..200;
i,j:integer;
h:100..120;
begin
j:=0;
for i:=1 to 10 do
read(a[i]);
read(h);
for i:=1 to 10 do
if a[i] -
02009-07-19 16:03:17@
连我都做得出,这道题太失败
so so so so so so easy
program pingguo;
var b:array[1..10] of integer;
a,m,c:integer;
begin
for a:=1 to 10 do read(b[a]);
readln(c);
m:=0;
for a:=1 to 10 do begin
if b[a] -
02009-07-18 15:55:15@
so easy.只需要存进数组再比较即可!
var
a:array[1..10]of integer;
n,i,k:integer;
begin
k:=0;
for i:=1 to 10 do read(a[i]);
readln(n);
for i:=1 to 10 do
begin
if n+30>a[i] then k:=k+1;
end;
writeln(k);
readln;
end. -
02009-07-18 14:24:42@
绝对是非常简单的
const
n=10;
var
a:array[1..1000] of integer;
tao,i,j:integer;
begin
for i:=1 to n do
read(a[i]);
readln(tao);
tao:=tao+30;
for i:=1 to n do
if a[i] -
02009-07-18 11:27:05@
var
a:array[1..10] of integer;
b,c,d:integer;
begin
for b:=1 to 10 do
read(a);
readln(c);
c:=c+30;
for b:=1 to 10 do
if c>=a then
d:=d+1;
write(d);
end. -
02009-07-18 09:11:59@
Program yinshang;
Var
a:array[1..10] of longint;
k,i,n:longint;
begin
for i:=i to 10 do
read(a[i]);
readln(n);
n:=n+30;
k:=0;
for i:=1 to 10 do
if a[i] -
02009-07-16 09:46:21@
编译通过...
├ 测试数据 01:答案正确... 0ms
├ 测试数据 02:答案正确... 0ms
├ 测试数据 03:答案正确... 0ms
├ 测试数据 04:答案正确... 0ms
├ 测试数据 05:答案正确... 0ms
├ 测试数据 06:答案正确... 0ms
├ 测试数据 07:答案正确... 0ms
├ 测试数据 08:答案正确... 0ms
├ 测试数据 09:答案正确... 0ms
├ 测试数据 10:答案正确... 0ms
---|---|---|---|---|---|---|---|-
Accepted 有效得分:100 有效耗时:0ms对于水题,坚决秒杀
-
02009-07-15 16:11:40@
program dsa;
var a:array[1..10] of integer;
n,z,i:integer;
begin
for i:=1 to 10 do read(a[i]);
read(n);
n:=n+30;
z:=0;
for i:=1 to 10 do if a[i] -
02009-07-15 16:09:57@
program apple;
var a:array[1..10] of longint;
h,s,i,j:longint;
begin
for i:=1 to 10 do read(a[i]);
read(h);
h:=h+30;
s:=0;
for i:=1 to 10 do begin
if h>=a[i] then
s:=s+1;
end;
write(s);
end. -
02009-07-15 13:49:55@
program p1102;
var a:array[0..10] of integer;
i,j,k:integer;
begin
assign(input,'apple.in');
assign(output,'apple.out');
reset(input);
rewrite(output);
for i:= 1 to 10 do read(a[i]);
read(j);
k:=0;
for i:= 1 to 10 do
begin
a[i]:=a[i]-j-30;
if a[i] -
02009-07-12 08:23:15@
program p1102;
var
a:array[0..10] of integer;
i,j,k:integer;
begin
for i:= 1 to 10 do
read(a[i]);
read(j);
k:=0;
for i:= 1 to 10 do
begin
a[i]:=a[i]-j-30;
if a[i] -
02009-07-10 07:57:07@
水题
-
02009-07-01 21:25:56@
program apple;
var i,j,n:longint;
a:array[1..10] of integer;
begin
for i:=1 to 10 do read(a[i]);
readln;
read(n);
j:=1;
for i:=1 to 10 do begin
a[i]:=a[i]-30;
if a[i] -
02009-06-24 21:47:04@
program p1102;
var i,sum,m,n:longint;
a:array[1..10]of longint;
begin
for i:=1 to 10 do read(a[i]); readln;
readln(m);
for i:=1 to 10 do
if a[i] -
02009-06-16 16:50:50@
program temp;
var
a:array[1..10]of integer;
i,j,k,m,n:integer;
begin
for i:=1to 10 do read(a[i]);readln;
readln(n); n:=n+30;
for i:=1 to 10 do if a[i] -
02009-06-14 17:25:35@
program temp;
var
a:array[1..10]of integer;
i,j,k,m,n:integer;
begin
for i:=1to 10 do read(a[i]);readln;
readln(n); n:=n+30;
for i:=1 to 10 do if a[i] -
02009-06-12 16:47:04@
program apple;
var h,i,j,s:integer;
a:array[1..10]of integer;
begin
j:=0;
for i:=1 to 10 do
begin
read(s);
a[i]:=s;
end;
readln;
read(s);
for i:=1 to 10 do
if a[i]