/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void add()':
/in/foo.cc:42:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   42 |                 if (i <= sum.size()) t += sum[sum.size() - i];
      |                     ~~^~~~~~~~~~~~~
/in/foo.cc:43:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   43 |                 if (i <= base.size()) t += base[base.size() - i];
      |                     ~~^~~~~~~~~~~~~~
/in/foo.cc: In function 'bool camp(int, int)':
/in/foo.cc:106:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  106 |         for (int i = 0, j = x + blank; i < a.size() && j < n; i++, j++)
      |                                        ~~^~~~~~~~~~
/in/foo.cc: In function 'void output()':
/in/foo.cc:154:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  154 |         for (i = 0; i < sum.size(); i++) cout << sum[i];
      |                     ~~^~~~~~~~~~~~
/in/foo.cc: In function 'bool all00()':
/in/foo.cc:180:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  180 |         for (i = 0; i < ans.size(); i++)
      |                     ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 460.0 KiB
#2 Accepted 1ms 472.0 KiB
#3 Accepted 2ms 492.0 KiB
#4 Accepted 1ms 528.0 KiB
#5 Accepted 2ms 488.0 KiB
#6 Accepted 2ms 500.0 KiB
#7 Accepted 2ms 500.0 KiB
#8 Accepted 2ms 496.0 KiB
#9 Accepted 2ms 520.0 KiB
#10 Accepted 2ms 520.0 KiB
#11 Accepted 2ms 408.0 KiB
#12 Wrong Answer 2ms 528.0 KiB
#13 Accepted 7ms 532.0 KiB
#14 Accepted 2ms 484.0 KiB
#15 Accepted 2ms 500.0 KiB
#16 Accepted 2ms 528.0 KiB
#17 Accepted 1ms 528.0 KiB
#18 Wrong Answer 1ms 536.0 KiB
#19 Accepted 2ms 472.0 KiB
#20 Accepted 1ms 476.0 KiB
#21 Wrong Answer 1ms 344.0 KiB
#22 Accepted 2ms 472.0 KiB
#23 Accepted 2ms 460.0 KiB
#24 Accepted 2ms 476.0 KiB
#25 Accepted 1ms 476.0 KiB
#26 Accepted 8ms 532.0 KiB
#27 Accepted 2ms 576.0 KiB
#28 Wrong Answer 7ms 532.0 KiB
#29 Accepted 52ms 548.0 KiB
#30 Accepted 3ms 456.0 KiB
#31 Accepted 5ms 480.0 KiB
#32 Accepted 2ms 484.0 KiB
#33 Accepted 7ms 536.0 KiB
#34 Accepted 8ms 536.0 KiB
#35 Accepted 2ms 532.0 KiB
#36 Accepted 2ms 508.0 KiB
#37 Accepted 2ms 484.0 KiB
#38 Accepted 4ms 540.0 KiB
#39 Accepted 2ms 536.0 KiB
#40 Accepted 1ms 476.0 KiB

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C++
递交时间
2025-03-12 10:49:21
评测时间
2025-03-12 10:49:21
评测机
分数
360
总耗时
169ms
峰值内存
576.0 KiB