/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:35: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[8]' [-Wformat=]
         scanf("%d %s\n",&Line,&Onw);
                                   ^
/in/foo.cc:25:45: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[3]' [-Wformat=]
                 scanf(" %c %s %s\n",&I,&X,&Y);
                                             ^
/in/foo.cc:25:45: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[3]' [-Wformat=]
/in/foo.cc:35:38: warning: statement has no effect [-Wunused-value]
                     if(Err!=2) Var[0]=='n';
                                ~~~~~~^~~~~
/in/foo.cc:58:25: warning: statement has no effect [-Wunused-value]
                 else Err==1;
                      ~~~^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Wrong Answer 1ms 212.0 KiB
#5 Accepted 1ms 216.0 KiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Wrong Answer 1ms 216.0 KiB
#8 Wrong Answer 1ms 212.0 KiB
#9 Wrong Answer 1ms 216.0 KiB
#10 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P2029 时间复杂度
语言
C++
递交时间
2019-06-26 00:55:30
评测时间
2019-06-26 00:55:30
评测机
分数
40
总耗时
15ms
峰值内存
228.0 KiB