Compile Error
foo.cpp: In function 'int main()': foo.cpp:18:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000005]' [-Wformat=] scanf("%s",&s);n=strlen(s);getnext(); ^ foo.cpp:20:42: error: 'T' was not declared in this scope for(int i=n-1;i>=0;i--) if (sum[i]==0) {T=i;break;} ^ foo.cpp:21:8: error: 'T' was not declared in this scope if (s[T-1]==s[n-1]) ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1677 陶陶的名字
- 语言
- C++
- 递交时间
- 2015-04-17 16:29:10
- 评测时间
- 2015-04-17 16:29:11
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes