/ Vijos /

记录详情

Wrong Answer

/in/foo.cc:8:9: warning: #pragma once in main file
 #pragma once
         ^~~~
/in/foo.cc: In function 'bool check()':
/in/foo.cc:27:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   int &c0 = to[str[0][i]],&c1 = to[str[1][i]],&c2 = to[str[2][i]];
                         ^
/in/foo.cc:27:45: warning: array subscript has type 'char' [-Wchar-subscripts]
   int &c0 = to[str[0][i]],&c1 = to[str[1][i]],&c2 = to[str[2][i]];
                                             ^
/in/foo.cc:27:65: warning: array subscript has type 'char' [-Wchar-subscripts]
   int &c0 = to[str[0][i]],&c1 = to[str[1][i]],&c2 = to[str[2][i]];
                                                                 ^
/in/foo.cc: In function 'int calc()':
/in/foo.cc:64:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   op1 = k + to[str[0][i]] + to[str[1][i]];
                         ^
/in/foo.cc:64:41: warning: array subscript has type 'char' [-Wchar-subscripts]
   op1 = k + to[str[0][i]] + to[str[1][i]];
                                         ^
/in/foo.cc:65:22: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(k + to[str[0][i]] + to[str[1][i]] >= n)
                      ^
/in/foo.cc:65:38: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(k + to[str[0][i]] + to[str[1][i]] >= n)
                                      ^
/in/foo.cc:73:32: warning: array subscript has type 'char' [-Wchar-subscripts]
   sum += abs(op1 - to[str[2][i]]);
                                ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:111:17: warning: array subscript has type 'char' [-Wchar-subscripts]
    cnt[str[i][j]]++;
                 ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 224.0 KiB
#2 Wrong Answer 1ms 224.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 224.0 KiB
#5 Wrong Answer 1ms 232.0 KiB
#6 Wrong Answer 1ms 220.0 KiB
#7 Wrong Answer 1ms 232.0 KiB
#8 Wrong Answer 1ms 220.0 KiB
#9 Wrong Answer 1ms 228.0 KiB
#10 Wrong Answer 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2019-07-25 13:37:08
评测时间
2019-07-25 13:37:08
评测机
分数
0
总耗时
12ms
峰值内存
232.0 KiB