/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void check(char*, char*, char*)':
/in/foo.cc:6:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<n;i++) printf("%c",c[n-1-i]); exit(0);
     ^~~
/in/foo.cc:6:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(int i=0;i<n;i++) printf("%c",c[n-1-i]); exit(0);
                                                 ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:36: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[10001]' [-Wformat=]
     scanf("%d%s%s%s",&n,&s1,&s2,&s3);
                                    ^
/in/foo.cc:10:36: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[10001]' [-Wformat=]
/in/foo.cc:10:36: warning: format '%s' expects argument of type 'char*', but argument 5 has type 'char (*)[10001]' [-Wformat=]
# 状态 耗时 内存占用
#1 Accepted 1ms 380.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 2ms 372.0 KiB
#4 Accepted 3ms 352.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 3ms 340.0 KiB
#7 Accepted 3ms 344.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Accepted 2ms 372.0 KiB
#10 Accepted 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2017-05-22 09:49:27
评测时间
2017-05-22 09:49:27
评测机
分数
100
总耗时
26ms
峰值内存
384.0 KiB