/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:4:26: error: 'cin' undeclared (first use in this function)
     for(int i=0;i<10;i++)cin >> height[i];
                          ^~~
/in/foo.c:4:26: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:4:33: error: 'height' undeclared (first use in this function)
     for(int i=0;i<10;i++)cin >> height[i];
                                 ^~~~~~
/in/foo.c:5:12: error: 'H' undeclared (first use in this function)
     cin >> H;
            ^
/in/foo.c:7:26: error: 's' undeclared (first use in this function)
     for(int i=0;i<10;i++)s+=!(H<height[i]);
                          ^
/in/foo.c:8:5: error: 'cout' undeclared (first use in this function)
     cout << s;
     ^~~~

信息

递交者
类型
递交
题目
P1102 陶陶摘苹果
语言
C
递交时间
2024-08-30 19:07:04
评测时间
2024-08-30 19:07:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes