/ Vijos /

记录详情

Compile Error

foo.c:1:1: error: expected identifier or '(' before numeric constant
    1 | 1 #include <algorithm>
      | ^
foo.c:1:3: error: stray '#' in program
    1 | 1 #include <algorithm>
      |   ^
foo.c:2:4: error: stray '#' in program
    2 |  2 #include <iostream>
      |    ^
foo.c:3:4: error: stray '#' in program
    3 |  3 #include <cstring>
      |    ^
foo.c:4:4: error: stray '#' in program
    4 |  4 #include <cstdio>
      |    ^
foo.c:7:2: error: expected identifier or '(' before numeric constant
    7 |  7
      |  ^
foo.c:19:5: warning: data definition has no type or storage class
   19 | 19 }e[10015];
      |     ^
foo.c:19:5: warning: type defaults to 'int' in declaration of 'e' [-Wimplicit-int]
foo.c:20:1: error: expected identifier or '(' before numeric constant
   20 | 20 int n;
      | ^~
foo.c:21:1: error: expected identifier or '(' before numeric constant
   21 | 21
      | ^~
foo.c:28:1: error: expected identifier or '(' before numeric constant
   28 | 28
      | ^~
foo.c:47:1: error: stray '\344' in program
   47 | 代码
      | ^
foo.c:47:2: error: stray '\273' in program
   47 | 代码
      |  ^
foo.c:47:3: error: stray '\243' in program
   47 | 代码
      |   ^
foo.c:47:4: error: stray '\347' in program
   47 | 代码
      |    ^
foo.c:47:5: error: stray '\240' in program
   47 | 代码
      |     ^
foo.c:47:6: error: stray '\201' in program
   47 | 代码
      |      ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1398 奖学金
语言
C
递交时间
2022-03-18 18:31:36
评测时间
2022-03-18 18:31:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes