/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool ok_()':
/in/foo.cc:14: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:14: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:14: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:15:19: warning: array subscript has type 'char' [-Wchar-subscripts]
         if((t[a[i]]+t[b[i]])%n!=t[c[i]]){
                   ^
/in/foo.cc:15:27: warning: array subscript has type 'char' [-Wchar-subscripts]
         if((t[a[i]]+t[b[i]])%n!=t[c[i]]){
                           ^
/in/foo.cc:15:39: warning: array subscript has type 'char' [-Wchar-subscripts]
         if((t[a[i]]+t[b[i]])%n!=t[c[i]]){
                                       ^
/in/foo.cc:16: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:16: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:16: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:24:21: warning: array subscript has type 'char' [-Wchar-subscripts]
         int s=t[a[i]]+t[b[i]]+jw;
                     ^
/in/foo.cc:24:29: warning: array subscript has type 'char' [-Wchar-subscripts]
         int s=t[a[i]]+t[b[i]]+jw;
                             ^
/in/foo.cc:25:18: warning: array subscript has type 'char' [-Wchar-subscripts]
         if(t[c[i]]!=s%n)return ;
                  ^
# 状态 耗时 内存占用
#1 Accepted 1ms 228.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 2ms 228.0 KiB
#4 Accepted 2ms 220.0 KiB
#5 Accepted 2ms 228.0 KiB
#6 Accepted 2ms 220.0 KiB
#7 Accepted 21ms 304.0 KiB
#8 Accepted 4ms 220.0 KiB
#9 Accepted 42ms 308.0 KiB
#10 Accepted 2ms 216.0 KiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2020-12-10 08:31:49
评测时间
2020-12-10 08:31:49
评测机
分数
100
总耗时
82ms
峰值内存
308.0 KiB