/ OPS /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:8: error: 'cin' undeclared (first use in this function)
    6 |  while(cin >> n){
      |        ^~~
/in/foo.c:6:8: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:7:3: error: 'cout' undeclared (first use in this function)
    7 |   cout << n*n << endl;
      |   ^~~~
/in/foo.c:7:18: error: 'endl' undeclared (first use in this function)
    7 |   cout << n*n << endl;
      |                  ^~~~
/in/foo.c:8:1: error: expected declaration or statement at end of input
    8 | }
      | ^

信息

递交者
类型
递交
语言
C
递交时间
2024-09-19 09:21:55
评测时间
2024-09-19 09:21:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes