记录详情

Compile Error

foo.c:4:1: error: unknown type name 'R'; use 'enum' keyword to refer to the type
    4 | R G[5][5] = {
      | ^
      | enum 
foo.c:4:13: warning: missing braces around initializer [-Wmissing-braces]
    4 | R G[5][5] = {
      |             ^
    5 |         p,l,w,w,l,
      |         {        }
    6 |         w,p,l,w,l,
      |         {        }
    7 |         l,w,p,l,w,
      |         {        }
    8 |         l,l,w,p,w,
      |         {        }
    9 |         w,w,l,l,p
      |         {
   10 | };
      | }
foo.c:11:1: error: unknown type name 'S'; use 'enum' keyword to refer to the type
   11 | S A[205];
      | ^
      | enum 
foo.c:12:1: error: unknown type name 'S'; use 'enum' keyword to refer to the type
   12 | S B[205];
      | ^
      | enum 
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1012 生活大爆炸版 石头剪刀布
语言
C
递交时间
2023-08-22 01:29:15
评测时间
2023-08-22 01:29:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes