记录详情

Compile Error

/in/foo.c:1:1: warning: data definition has no type or storage class
    1 | n=int(input())
      | ^
/in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
/in/foo.c:1:3: error: expected expression before 'int'
    1 | n=int(input())
      |   ^~~
/in/foo.c:5:2: error: invalid preprocessing directive #print
    5 | #print(A)
      |  ^~~~~
/in/foo.c:16:11: warning: multi-character character constant [-Wmultichar]
   16 |     print('yes')
      |           ^~~~~
/in/foo.c:18:11: warning: multi-character character constant [-Wmultichar]
   18 |     print('no')
      |           ^~~~

信息

递交者
类型
递交
题目
判断素数
语言
C
递交时间
2026-05-26 17:16:03
评测时间
2026-05-26 17:16:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes