记录详情

Accepted

foo.c:9:23: warning: missing braces around initializer [-Wmissing-braces]
    9 | JieGuo guanXi[5][5] = {
      |                       ^
   10 |         PING,SHU,YIN,YIN,SHU,
      |         {                   }
   11 |         YIN,PING,SHU,YIN,SHU,
      |         {                   }
   12 |         SHU,YIN,PING,SHU,YIN,
      |         {                   }
   13 |         SHU,SHU,YIN,PING,YIN,
      |         {                   }
   14 |         YIN,YIN,SHU,SHU,PING
      |         {
   15 | };
      | }
foo.c: In function 'main':
foo.c:27:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'enum shouShi *' [-Wformat=]
   27 |                 scanf("%d",&A[i]);
      |                        ~^  ~~~~~
      |                         |  |
      |                         |  enum shouShi *
      |                         int *
foo.c:31:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'enum shouShi *' [-Wformat=]
   31 |                 scanf("%d",&B[i]);
      |                        ~^  ~~~~~
      |                         |  |
      |                         |  enum shouShi *
      |                         int *
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Accepted 1ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 2ms 284.0 KiB
#7 Accepted 2ms 284.0 KiB
#8 Accepted 2ms 284.0 KiB
#9 Accepted 1ms 200.0 KiB
#10 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1012 生活大爆炸版 石头剪刀布
语言
C
递交时间
2023-08-21 19:46:18
评测时间
2023-08-21 19:46:18
评测机
分数
100
总耗时
20ms
峰值内存
284.0 KiB