/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool ok_()':
/in/foo.cc:15:18: warning: array subscript has type 'char' [-Wchar-subscripts]
         if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
                  ^
/in/foo.cc:15:31: warning: array subscript has type 'char' [-Wchar-subscripts]
         if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
                               ^
/in/foo.cc:15:44: warning: array subscript has type 'char' [-Wchar-subscripts]
         if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
                                            ^
/in/foo.cc:16:19: warning: array subscript has type 'char' [-Wchar-subscripts]
         if((t[a[i]]+t[b[i]])%n!=t[c[i]]){
                   ^
/in/foo.cc:16:27: warning: array subscript has type 'char' [-Wchar-subscripts]
         if((t[a[i]]+t[b[i]])%n!=t[c[i]]){
                           ^
/in/foo.cc:16:39: warning: array subscript has type 'char' [-Wchar-subscripts]
         if((t[a[i]]+t[b[i]])%n!=t[c[i]]){
                                       ^
/in/foo.cc:17:23: warning: array subscript has type 'char' [-Wchar-subscripts]
             if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
                       ^
/in/foo.cc:17:31: warning: array subscript has type 'char' [-Wchar-subscripts]
             if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
                               ^
/in/foo.cc:17:45: warning: array subscript has type 'char' [-Wchar-subscripts]
             if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
                                             ^
/in/foo.cc: In function 'void Try_()':
/in/foo.cc:25:21: warning: array subscript has type 'char' [-Wchar-subscripts]
         int s=t[a[i]]+t[b[i]]+jw;
                     ^
/in/foo.cc:25:29: warning: array subscript has type 'char' [-Wchar-subscripts]
         int s=t[a[i]]+t[b[i]]+jw;
                             ^
/in/foo.cc:26:18: warning: array subscript has type 'char' [-Wchar-subscripts]
         if(t[c[i]]!=s%n)return ;
                  ^
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 344.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 364.0 KiB
#5 Accepted 2ms 420.0 KiB
#6 Accepted 2ms 352.0 KiB
#7 Accepted 25ms 416.0 KiB
#8 Accepted 4ms 400.0 KiB
#9 Accepted 60ms 412.0 KiB
#10 Accepted 1ms 404.0 KiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2021-12-05 17:00:08
评测时间
2021-12-05 17:00:08
评测机
分数
100
总耗时
104ms
峰值内存
420.0 KiB