/ CWOI /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:101:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=]
    printf("%d\n",strlen(str)-l1+1);
                                  ^
/in/foo.cc:101:29: warning: 'l1' may be used uninitialized in this function [-Wmaybe-uninitialized]
    printf("%d\n",strlen(str)-l1+1);
                  ~~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 340.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 336.0 KiB
#4 Accepted 205ms 792.0 KiB
#5 Accepted 301ms 1.25 MiB
#6 Accepted 298ms 1.25 MiB
#7 Accepted 233ms 1.125 MiB
#8 Accepted 556ms 3.625 MiB
#9 Accepted 597ms 2.875 MiB
#10 Accepted 19ms 23.5 MiB

信息

递交者
类型
递交
题目
2017.07.18 P3 字符串查询
语言
C++
递交时间
2017-07-18 19:53:14
评测时间
2017-07-18 19:53:14
评测机
分数
200
总耗时
2223ms
峰值内存
23.5 MiB