记录详情

Compile Error

foo.c:1:1: warning: data definition has no type or storage class
    1 | num = int(input())
      | ^~~
foo.c:1:1: warning: type defaults to 'int' in declaration of 'num' [-Wimplicit-int]
foo.c:1:7: error: expected expression before 'int'
    1 | num = int(input())
      |       ^~~
foo.c:6:18: warning: multi-character character constant [-Wmultichar]
    6 |            print('no')
      |                  ^~~~
foo.c:6:22: error: stray '\357' in program
    6 |            print('no')
      |                      ^
foo.c:6:23: error: stray '\274' in program
    6 |            print('no')
      |                       ^
foo.c:6:24: error: stray '\211' in program
    6 |            print('no')
      |                        ^
foo.c:9:14: warning: multi-character character constant [-Wmultichar]
    9 |        print('yes')
      |              ^~~~~
foo.c:12:10: warning: multi-character character constant [-Wmultichar]
   12 |    print('no')
      |          ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
判断素数
语言
C
递交时间
2022-01-17 13:24:36
评测时间
2022-01-17 13:24:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes