记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:22: error: 'scanf' was not declared in this scope
  scanf("%d%d\n",&n,&m);
                      ^
/in/foo.cc:18:13: error: 's' was not declared in this scope
  scanf("%c",s);
             ^
/in/foo.cc:34:11: error: 'cout' was not declared in this scope
  if(a[0]) cout<<a[0];
           ^~~~
/in/foo.cc:36:25: error: 'putchar' was not declared in this scope
   if(i==ind) putchar('.');
                         ^
/in/foo.cc:37:19: error: 'putchar' was not declared in this scope
   putchar(a[i]+'0');
                   ^

信息

递交者
类型
递交
题目
Efim与奇怪的成绩 (grade.*)
题目数据
下载
语言
C++
递交时间
2020-09-19 10:27:30
评测时间
2020-09-19 10:27:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes