/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:13:30: error: 'strlen' was not declared in this scope
 for(number=0;locate<(strlen(s))-1;locate++,number++)
                              ^
foo.cpp:47:30: error: 'strlen' was not declared in this scope
 for(number=0;locate<(strlen(s));locate++,number++)
                              ^
foo.cpp:45:5: warning: unused variable 'j' [-Wunused-variable]
 int j=0,locate=0,number;
     ^

信息

递交者
类型
递交
题目
P1696 数与连分数
语言
C++
递交时间
2016-03-13 10:24:44
评测时间
2016-03-13 10:24:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes