/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'bool ok_()':
foo.cc:10:17: warning: array subscript has type 'char' [-Wchar-subscripts]
   10 |         if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
      |              ~~~^
foo.cc:10:30: warning: array subscript has type 'char' [-Wchar-subscripts]
   10 |         if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
      |                           ~~~^
foo.cc:10:43: warning: array subscript has type 'char' [-Wchar-subscripts]
   10 |         if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
      |                                        ~~~^
foo.cc:11:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   11 |         if((t[a[i]]+t[b[i]])%n!=t[c[i]])
      |               ~~~^
foo.cc:11:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   11 |         if((t[a[i]]+t[b[i]])%n!=t[c[i]])
      |                       ~~~^
foo.cc:11:38: warning: array subscript has type 'char' [-Wchar-subscripts]
   11 |         if((t[a[i]]+t[b[i]])%n!=t[c[i]])
      |                                   ~~~^
foo.cc:13:22: warning: array subscript has type 'char' [-Wchar-subscripts]
   13 |             if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
      |                   ~~~^
foo.cc:13:30: warning: array subscript has type 'char' [-Wchar-subscripts]
   13 |             if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
      |                           ~~~^
foo.cc:13:44: warning: array subscript has type 'char' [-Wchar-subscripts]
   13 |             if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
      |                                         ~~~^
foo.cc: In function 'void Try_()':
foo.cc:23:20: warning: array subscript has type 'char' [-Wchar-subscripts]
   23 |         int s=t[a[i]]+t[b[i]]+jw;
      |                 ~~~^
foo.cc:23:28: warning: array subscript has type 'char' [-Wchar-subscripts]
   23 |         int s=t[a[i]]+t[b[i]]+jw;
      |                         ~~~^
foo.cc:24:17: warning: array subscript has type 'char' [-Wchar-subscripts]
   24 |         if(t[c[i]]!=s%n)return ;
      |              ~~~^
foo.cc: In function 'int main()':
foo.cc:51:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   51 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
foo.cc:52:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   52 |     scanf("%s%s%s",a+1,b+1,c+1);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 71 89 2ms 384.0 KiB
#2 Time Exceeded ≥1094ms ≥256.0 KiB
#3 Time Exceeded ≥1100ms ≥256.0 KiB
#4 Time Exceeded ≥1002ms ≥256.0 KiB
#5 Wrong Answer 0a1 > 88 76 2ms 384.0 KiB
#6 Wrong Answer 0a1 > 82 81 3ms 384.0 KiB
#7 Wrong Answer 0a1 > 88 76 2ms 384.0 KiB
#8 Wrong Answer 0a1 > 74 88 2ms 384.0 KiB
#9 Time Exceeded ≥1100ms ≥384.0 KiB
#10 Time Exceeded ≥1098ms ≥256.0 KiB

信息

递交者
类型
递交
题目
P1905 生活大爆炸版 石头剪刀布
语言
C++
递交时间
2022-05-12 22:23:58
评测时间
2022-05-12 22:23:58
评测机
分数
0
总耗时
≥5410ms
峰值内存
≥384.0 KiB