记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:33:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < strlen(a); i++)
                   ~~^~~~~~~~~~~
/in/foo.cc:38:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int j = 0,k=i; j < strlen(b) && k<strlen(a); j++,k++)
                         ~~^~~~~~~~~~~
/in/foo.cc:38:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int j = 0,k=i; j < strlen(b) && k<strlen(a); j++,k++)
                                          ~^~~~~~~~~~
/in/foo.cc:53:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   printf("%d\n", ans+1);
   ~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 2ms 200.0 KiB
#3 Accepted 3ms 368.0 KiB
#4 Accepted 3ms 356.0 KiB
#5 Accepted 2ms 360.0 KiB
#6 Accepted 2ms 364.0 KiB
#7 Accepted 20ms 256.0 KiB
#8 Accepted 15ms 384.0 KiB
#9 Accepted 112ms 504.0 KiB
#10 Accepted 168ms 384.0 KiB

信息

递交者
类型
递交
题目
君の名は2: 宫水三叶
比赛
ACM模拟赛
语言
C++
递交时间
2017-08-21 16:55:38
评测时间
2017-08-21 16:55:38
评测机
分数
100
总耗时
336ms
峰值内存
504.0 KiB