/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'std::__cxx11::string n2()':
/in/foo.cc:25:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s.size() - len;) {
                  ~~^~~~~~~~~~~~~~~~
/in/foo.cc:33:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s1.size();) {
                  ~~^~~~~~~~~~~
/in/foo.cc:34:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (s1.size() - 4 > i && s1.substr(i, 4) == "1013") {
       ~~~~~~~~~~~~~~^~~
/in/foo.cc: In function 'std::__cxx11::string n3()':
/in/foo.cc:52:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = abs(n-m)-1; i < s.size()-len; i++) {
                           ~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Wrong Answer 1ms 332.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 328.0 KiB
#6 Accepted 1ms 376.0 KiB
#7 Accepted 1ms 332.0 KiB
#8 Accepted 1ms 336.0 KiB
#9 Accepted 1ms 376.0 KiB
#10 Accepted 1ms 376.0 KiB
#11 Accepted 1ms 328.0 KiB
#12 Accepted 1ms 400.0 KiB
#13 Accepted 1ms 328.0 KiB
#14 Wrong Answer 1ms 336.0 KiB
#15 Wrong Answer 1ms 488.0 KiB
#16 Wrong Answer 1ms 616.0 KiB
#17 Wrong Answer 1ms 328.0 KiB
#18 Accepted 1ms 376.0 KiB
#19 Accepted 1ms 328.0 KiB
#20 Wrong Answer 1ms 336.0 KiB

信息

递交者
类型
递交
题目
P1405 古韵之同心锁
语言
C++
递交时间
2024-10-13 10:47:55
评测时间
2024-10-13 10:47:55
评测机
分数
70
总耗时
26ms
峰值内存
616.0 KiB