/ Vijos /

记录详情

Wrong Answer

/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",a[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",a[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 3ms 384.0 KiB
#2 Wrong Answer 2ms 384.0 KiB
#3 Wrong Answer 3ms 356.0 KiB
#4 Wrong Answer 3ms 256.0 KiB
#5 Wrong Answer 3ms 256.0 KiB
#6 Wrong Answer 3ms 256.0 KiB
#7 Wrong Answer 2ms 256.0 KiB
#8 Wrong Answer 3ms 384.0 KiB
#9 Wrong Answer 3ms 364.0 KiB
#10 Wrong Answer 4ms 356.0 KiB

信息

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