记录详情

Compile Error

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

信息

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