/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'long int operation(long int, long int, long int)':
foo.cpp:12:7: warning: unused variable 'x' [-Wunused-variable]
  long x,s;
       ^
foo.cpp:12:9: warning: unused variable 's' [-Wunused-variable]
  long x,s;
         ^
foo.cpp: In function 'int main()':
foo.cpp:84:14: error: 'strlen' was not declared in this scope
   l=strlen(ch);
              ^
foo.cpp: In function 'long int operation(long int, long int, long int)':
foo.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1003 等价表达式
语言
C++
递交时间
2014-08-11 11:36:56
评测时间
2014-08-11 11:36:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes