/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void ycl()':
/in/foo.cc:12:14: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!bj[a[i]]){
              ^
/in/foo.cc:14:11: warning: array subscript has type 'char' [-Wchar-subscripts]
    bj[a[i]]=1; 
           ^
/in/foo.cc:16:14: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!bj[b[i]]){
              ^
/in/foo.cc:18:11: warning: array subscript has type 'char' [-Wchar-subscripts]
    bj[b[i]]=1; 
           ^
/in/foo.cc:20:14: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!bj[c[i]]){
              ^
/in/foo.cc:22:11: warning: array subscript has type 'char' [-Wchar-subscripts]
    bj[c[i]]=1; 
           ^
/in/foo.cc: In function 'bool DA()':
/in/foo.cc:33:17: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((jw+JG[a[i]]+JG[b[i]])%n!=JG[c[i]]) return 0;
                 ^
/in/foo.cc:33:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((jw+JG[a[i]]+JG[b[i]])%n!=JG[c[i]]) return 0;
                          ^
/in/foo.cc:33:39: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((jw+JG[a[i]]+JG[b[i]])%n!=JG[c[i]]) return 0;
                                       ^
/in/foo.cc:34:17: warning: array subscript has type 'char' [-Wchar-subscripts]
   jw=(jw+JG[a[i]]+JG[b[i]])/n;
                 ^
/in/foo.cc:34:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   jw=(jw+JG[a[i]]+JG[b[i]])/n;
                          ^
/in/foo.cc: In function 'bool check()':
/in/foo.cc:41:13: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(JG[a[i]]==-1||JG[b[i]]==-1||JG[c[i]]==-1) continue;
             ^
/in/foo.cc:41:27: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(JG[a[i]]==-1||JG[b[i]]==-1||JG[c[i]]==-1) continue;
                           ^
/in/foo.cc:41:41: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(JG[a[i]]==-1||JG[b[i]]==-1||JG[c[i]]==-1) continue;
                                         ^
/in/foo.cc:42:14: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((JG[a[i]]+JG[b[i]])%n!=JG[c[i]]&&(JG[a[i]]+JG[b[i]]+1)%n!=JG[c[i]]) return 0;
              ^
/in/foo.cc:42:23: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((JG[a[i]]+JG[b[i]])%n!=JG[c[i]]&&(JG[a[i]]+JG[b[i]]+1)%n!=JG[c[i]]) return 0;
                       ^
/in/foo.cc:42:36: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((JG[a[i]]+JG[b[i]])%n!=JG[c[i]]&&(JG[a[i]]+JG[b[i]]+1)%n!=JG[c[i]]) return 0;
                                    ^
/in/foo.cc:42:47: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((JG[a[i]]+JG[b[i]])%n!=JG[c[i]]&&(JG[a[i]]+JG[b[i]]+1)%n!=JG[c[i]]) return 0;
                                               ^
/in/foo.cc:42:56: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((JG[a[i]]+JG[b[i]])%n!=JG[c[i]]&&(JG[a[i]]+JG[b[i]]+1)%n!=JG[c[i]]) return 0;
                                                        ^
/in/foo.cc:42:71: warning: array subscript has type 'char' [-Wchar-subscripts]
   if((JG[a[i]]+JG[b[i]])%n!=JG[c[i]]&&(JG[a[i]]+JG[b[i]]+1)%n!=JG[c[i]]) return 0;
                                                                       ^
/in/foo.cc: In function 'void DFS(int)':
/in/foo.cc:57:14: warning: array subscript has type 'char' [-Wchar-subscripts]
    JG[SXB[WZ]]=i;
              ^
/in/foo.cc:61:23: warning: array subscript has type 'char' [-Wchar-subscripts]
             JG[SXB[WZ]]=-1; 
                       ^
# 状态 耗时 内存占用
#1 Accepted 1ms 332.0 KiB
#2 Accepted 1ms 352.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 348.0 KiB
#5 Accepted 2ms 344.0 KiB
#6 Accepted 1ms 352.0 KiB
#7 Accepted 20ms 352.0 KiB
#8 Accepted 3ms 336.0 KiB
#9 Accepted 37ms 352.0 KiB
#10 Accepted 1ms 332.0 KiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2021-07-01 10:30:08
评测时间
2021-07-01 10:30:08
评测机
分数
100
总耗时
74ms
峰值内存
352.0 KiB