/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int read()':
foo.cpp:13:29: error: 'isdigit' was not declared in this scope
  while(!isdigit(ch=getchar()));
                             ^
foo.cpp:14:18: error: 'isdigit' was not declared in this scope
  while(isdigit(ch))
                  ^
foo.cpp: At global scope:
foo.cpp:18:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main(){
      ^

信息

递交者
类型
递交
题目
P1906 联合权值
语言
C++
递交时间
2015-03-05 17:03:41
评测时间
2015-03-05 17:03:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes