/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void DP()':
/in/foo.cc:30:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = i - 1; j < s[i].length(); j++)
                       ~~^~~~~~~~~~~~~~~
/in/foo.cc:38:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = i; j <= s[i].length(); j = j + 2)
                   ~~^~~~~~~~~~~~~~~~
/in/foo.cc:46:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = i + 1; j <= s[i].length(); j = j + 2)
                       ~~^~~~~~~~~~~~~~~~
/in/foo.cc:28:6: warning: unused variable 'k' [-Wunused-variable]
  int k;
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:61:7: warning: unused variable 'ch' [-Wunused-variable]
  char ch[2 * MaxN + 1];
       ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 336.0 KiB
#2 Accepted 2ms 368.0 KiB
#3 Accepted 2ms 340.0 KiB
#4 Accepted 2ms 344.0 KiB
#5 Accepted 2ms 340.0 KiB
#6 Accepted 2ms 348.0 KiB
#7 Accepted 2ms 340.0 KiB
#8 Wrong Answer 3ms 344.0 KiB
#9 Wrong Answer 3ms 372.0 KiB
#10 Wrong Answer 3ms 348.0 KiB

信息

递交者
类型
递交
题目
P1063 迎春舞会之集体舞
语言
C++
递交时间
2020-03-05 17:10:37
评测时间
2020-03-05 17:10:37
评测机
分数
70
总耗时
28ms
峰值内存
372.0 KiB