记录详情

Compile Error

foo.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
foo.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
foo.c: In function 'main':
foo.c:7:2: error: unknown type name 'bool'
    7 |  bool a[10005];
      |  ^~~~
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |  scanf("%d%d",&n,&m);
      |  ^~~~~~~~~~~~~~~~~~~
foo.c:12:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   12 |   scanf("%d%d",&b,&c);
      |   ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1365 6B 校门外的树
语言
C
递交时间
2022-06-29 05:31:05
评测时间
2022-06-29 05:31:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes