/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int read()':
/in/foo.cc:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(; isdigit(ch); ch = getchar()) x = x * 10 + ch - '0'; return x * f;
     ^~~
/in/foo.cc:20:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(; isdigit(ch); ch = getchar()) x = x * 10 + ch - '0'; return x * f;
                                                               ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:61:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
       for(int j = 1; j <= 4; j++)
       ^~~
/in/foo.cc:63:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   it++;
   ^~
/in/foo.cc:59:24: warning: unused variable 'a1' [-Wunused-variable]
     for(int i = n - 2, a1, b1; i; i--){
                        ^~
/in/foo.cc:59:28: warning: unused variable 'b1' [-Wunused-variable]
     for(int i = n - 2, a1, b1; i; i--){
                            ^~
/in/foo.cc:57:8: warning: unused variable 'h1' [-Wunused-variable]
     LL h1, h2;// l1, l2;
        ^~
/in/foo.cc:57:12: warning: unused variable 'h2' [-Wunused-variable]
     LL h1, h2;// l1, l2;
            ^~
/in/foo.cc:150:13: warning: 'mini' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout << mini << endl;
             ^~~~
# 状态 耗时 内存占用
#1 Accepted 19ms 10.25 MiB
#2 Accepted 18ms 8.875 MiB
#3 Accepted 29ms 9.48 MiB
#4 Accepted 24ms 10.348 MiB
#5 Accepted 18ms 8.953 MiB
#6 Accepted 25ms 10.352 MiB
#7 Accepted 20ms 10.5 MiB
#8 Accepted 25ms 10.348 MiB
#9 Accepted 7ms 8.875 MiB
#10 Accepted 8ms 9.355 MiB
#11 Accepted 15ms 9.371 MiB
#12 Accepted 16ms 8.844 MiB
#13 Accepted 15ms 10.75 MiB
#14 Accepted 19ms 11.375 MiB
#15 Accepted 178ms 44.75 MiB
#16 Wrong Answer 185ms 48.934 MiB
#17 Wrong Answer 379ms 69.0 MiB
#18 Wrong Answer 365ms 75.5 MiB
#19 Wrong Answer 379ms 76.25 MiB
#20 Wrong Answer 435ms 76.227 MiB

信息

递交者
类型
递交
题目
P1780 开车旅行
语言
C++
递交时间
2017-11-09 15:42:49
评测时间
2017-11-09 15:42:49
评测机
分数
75
总耗时
2188ms
峰值内存
76.25 MiB