/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void print(int*)':
/in/foo.cc:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i = pd; i >= 0; --i) printf("%d",x[i]);putchar(10);
     ^~~
/in/foo.cc:16:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (int i = pd; i >= 0; --i) printf("%d",x[i]);putchar(10);
                                                     ^~~~~~~
/in/foo.cc: In function 'void print1(int)':
/in/foo.cc:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i = 1; i <= num; ++i) printf("%d",s[i]); putchar(10);
     ^~~
/in/foo.cc:20:55: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (int i = 1; i <= num; ++i) printf("%d",s[i]); putchar(10);
                                                       ^~~~~~~
/in/foo.cc: In function 'bool check1(int, int, int, int)':
/in/foo.cc:54:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while (x[d1] == 0) d1--; while (y[d2] == 0) d2--;
     ^~~~~
/in/foo.cc:54:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while (x[d1] == 0) d1--; while (y[d2] == 0) d2--;
                              ^~~~~
/in/foo.cc: In function 'bool pd0(std::__cxx11::string)':
/in/foo.cc:116:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i =0; i < s1.size(); ++i) if (s1[i] != 48) return 0;
                    ~~^~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:164:9: warning: unused variable 'L' [-Wunused-variable]
     int L = fvck - 1;
         ^
/in/foo.cc: In function 'void solve(int*, int, int)':
/in/foo.cc:102:59: warning: iteration 319 invokes undefined behavior [-Waggressive-loop-optimizations]
     for (int i = 0; i < fvck; ++i) ans[i + 1] += ans[i] / 10, ans[i] %= 10;
                                                           ^~
/in/foo.cc:102:23: note: within this loop
     for (int i = 0; i < fvck; ++i) ans[i + 1] += ans[i] / 10, ans[i] %= 10;
                     ~~^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 596.0 KiB
#2 Accepted 4ms 636.0 KiB
#3 Accepted 4ms 640.0 KiB
#4 Accepted 2ms 512.0 KiB
#5 Wrong Answer 4ms 628.0 KiB
#6 Accepted 5ms 512.0 KiB
#7 Accepted 3ms 512.0 KiB
#8 Wrong Answer 3ms 512.0 KiB
#9 Wrong Answer 4ms 512.0 KiB
#10 Wrong Answer 4ms 512.0 KiB
#11 Wrong Answer 11ms 512.0 KiB
#12 Wrong Answer 2ms 640.0 KiB
#13 Accepted 26ms 512.0 KiB
#14 Accepted 3ms 628.0 KiB
#15 Accepted 5ms 628.0 KiB
#16 Wrong Answer 4ms 628.0 KiB
#17 Wrong Answer 4ms 624.0 KiB
#18 Accepted 4ms 604.0 KiB
#19 Accepted 3ms 640.0 KiB
#20 Accepted 2ms 512.0 KiB
#21 Accepted 3ms 608.0 KiB
#22 Wrong Answer 2ms 640.0 KiB
#23 Wrong Answer 4ms 600.0 KiB
#24 Accepted 4ms 616.0 KiB
#25 Wrong Answer 23ms 612.0 KiB
#26 Accepted 18ms 584.0 KiB
#27 Wrong Answer 47ms 596.0 KiB
#28 Accepted 12ms 640.0 KiB
#29 Accepted 118ms 632.0 KiB
#30 Accepted 25ms 604.0 KiB
#31 Accepted 13ms 624.0 KiB
#32 Wrong Answer 30ms 604.0 KiB
#33 Accepted 28ms 512.0 KiB
#34 Wrong Answer 11ms 632.0 KiB
#35 Wrong Answer 13ms 592.0 KiB
#36 Wrong Answer 64ms 616.0 KiB
#37 Wrong Answer 37ms 620.0 KiB
#38 Wrong Answer 13ms 604.0 KiB
#39 Wrong Answer 11ms 600.0 KiB
#40 Wrong Answer 17ms 624.0 KiB

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C++
递交时间
2018-03-01 14:30:10
评测时间
2018-03-01 14:30:10
评测机
分数
190
总耗时
612ms
峰值内存
640.0 KiB