怎么错了?

P1046 [NOIP2005 普及组] 陶陶摘苹果

M_seа @ 2015-08-31 20:50:36

#include<stdio.h>
#include<stdlib.h>
int main(){
    int a[11];
    int i,h,z=0;
    for (i=1;i<=10;i++){
    scanf("%d",&a[i]);
    printh("%d",a[i]);
    scanf("%d",&h);
    for (i=1;i<=10;i++){
    if (a[i]+30>=h) z=z+1;}
    printf("%d",z);
   system("pause");
   return 0;
}

by lezdzh @ 2015-08-31 21:39:21

system("pause");


by kkksc03 @ 2015-09-01 18:24:14

@[url=/space/show?uid=8952]赵子悦[/url] 楼上正解。


by Neil_Seniorious @ 2022-10-05 14:27:59

捕捉kkk


by nightwatch.ryan @ 2023-11-16 21:21:05

考古


|