/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:8:27: error: 'scanf' was not declared in this scope
 while (scanf ("%d%*c" , &n) == 1){
                           ^
foo.cpp:9:9: error: 'gets' was not declared in this scope
 gets(str);
         ^
foo.cpp:29:30: error: 'printf' was not declared in this scope
 printf ("%d\n" , dp[ 1 ][ n ]);
                              ^
foo.cpp:7:17: warning: unused variable 'curr' [-Wunused-variable]
 int i , n , j , curr;
                 ^

信息

递交者
类型
递交
题目
P1327 回文词
语言
C++
递交时间
2014-04-30 17:27:51
评测时间
2014-04-30 17:27:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes