/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void print(int*)':
/in/foo.cc:16:2: 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:50: 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:2: 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:52: 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:48:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while (x[d1] == 0) d1--; while (y[d2] == 0) d2--;
  ^~~~~
/in/foo.cc:48:27: 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:110:19: 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:158:6: warning: unused variable 'L' [-Wunused-variable]
  int L = fvck - 1;
      ^
/in/foo.cc: In function 'void solve(int*, int, int)':
/in/foo.cc:96:56: 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:96:20: note: within this loop
  for (int i = 0; i < fvck; ++i) ans[i + 1] += ans[i] / 10, ans[i] %= 10;
                  ~~^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 640.0 KiB
#2 Accepted 4ms 640.0 KiB
#3 Accepted 5ms 600.0 KiB
#4 Accepted 5ms 512.0 KiB
#5 Wrong Answer 3ms 628.0 KiB
#6 Wrong Answer 5ms 632.0 KiB
#7 Wrong Answer 4ms 632.0 KiB
#8 Wrong Answer 5ms 512.0 KiB
#9 Wrong Answer 4ms 640.0 KiB
#10 Wrong Answer 5ms 600.0 KiB
#11 Wrong Answer 14ms 608.0 KiB
#12 Wrong Answer 4ms 604.0 KiB
#13 Wrong Answer 31ms 624.0 KiB
#14 Wrong Answer 5ms 612.0 KiB
#15 Accepted 4ms 604.0 KiB
#16 Wrong Answer 5ms 608.0 KiB
#17 Wrong Answer 5ms 616.0 KiB
#18 Wrong Answer 4ms 616.0 KiB
#19 Wrong Answer 4ms 512.0 KiB
#20 Accepted 5ms 612.0 KiB
#21 Wrong Answer 3ms 628.0 KiB
#22 Wrong Answer 4ms 624.0 KiB
#23 Wrong Answer 4ms 604.0 KiB
#24 Accepted 5ms 632.0 KiB
#25 Wrong Answer 22ms 640.0 KiB
#26 Wrong Answer 18ms 512.0 KiB
#27 Wrong Answer 57ms 624.0 KiB
#28 Wrong Answer 27ms 600.0 KiB
#29 Wrong Answer 118ms 596.0 KiB
#30 Accepted 39ms 608.0 KiB
#31 Wrong Answer 22ms 512.0 KiB
#32 Wrong Answer 18ms 616.0 KiB
#33 Wrong Answer 15ms 636.0 KiB
#34 Wrong Answer 15ms 636.0 KiB
#35 Wrong Answer 15ms 608.0 KiB
#36 Wrong Answer 56ms 600.0 KiB
#37 Wrong Answer 51ms 600.0 KiB
#38 Wrong Answer 32ms 612.0 KiB
#39 Wrong Answer 16ms 640.0 KiB
#40 Wrong Answer 30ms 592.0 KiB

信息

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