/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main(int, char**)':
foo.cpp:30:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while((pos = (int)start.find(key, pos)) != string::npos){
                                                                ^
foo.cpp:36:41: error: 'printf' was not declared in this scope
                      printf("%d\n", step);
                                         ^
foo.cpp:51:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while((pos = (int)start.find(key, pos)) != string::npos){
                                                                ^
foo.cpp:57:41: error: 'printf' was not declared in this scope
                      printf("%d\n", step);
                                         ^

信息

递交者
类型
递交
题目
P1124 字串变换
语言
C++
递交时间
2016-09-16 12:07:40
评测时间
2016-09-16 12:07:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes