Compile Error

foo.c:1:1: error: expected identifier or '(' before numeric constant
    1 | 1 #include <iostream>
      | ^
foo.c:1:3: error: stray '#' in program
    1 | 1 #include <iostream>
      |   ^
foo.c:2:3: error: stray '#' in program
    2 | 2 #include <iomanip>
      |   ^
foo.c:4:1: error: expected identifier or '(' before numeric constant
    4 | 4 int main()
      | ^
foo.c:6:1: error: invalid suffix "cout" on integer constant
    6 | 6cout++"
      | ^~~~~
foo.c:6:8: warning: missing terminating " character
    6 | 6cout++"
      |        ^
foo.c:6:8: error: missing terminating " character
foo.c:7:1: error: invalid suffix "return" on integer constant
    7 | 7return 0:
      | ^~~~~~~
foo.c:7:9: error: invalid suffix ":" on integer constant
    7 | 7return 0:
      |         ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1001 打印字符
语言
C
递交时间
2023-09-24 19:53:26
评测时间
2023-09-24 19:53:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes