Compile Error

foo.cc:1:2: error: extended character ” is not valid in an identifier
    1 | #include”bits/stdc++.h”
      |  ^
foo.cc:1:2: error: invalid preprocessing directive #include\U0000201dbits
    1 | #include”bits/stdc++.h”
      |  ^~~~~~~~~~~~
foo.cc:1:22: error: extended character ” is not valid in an identifier
    1 | #include”bits/stdc++.h”
      |                      ^
foo.cc:7:7: error: extended character ” is not valid in an identifier
    7 | cout<<”Hello,world!”;
      |       ^
foo.cc:7:20: error: extended character ” is not valid in an identifier
    7 | cout<<”Hello,world!”;
      |                    ^
foo.cc: In function ‘int main()’:
foo.cc:6:1: error: ‘cin’ was not declared in this scope
    6 | cin>>r>>c>>d;
      | ^~~
foo.cc:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
  +++ |+#include <iostream>
    1 | #include”bits/stdc++.h”
foo.cc:7:1: error: ‘cout’ was not declared in this scope
    7 | cout<<”Hello,world!”;
      | ^~~~
foo.cc:7:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
foo.cc:7:7: error: ‘”Hello’ was not declared in this scope
    7 | cout<<”Hello,world!”;
      |       ^~~~~~
foo.cc:7:14: error: ‘world’ was not declared in this scope
    7 | cout<<”Hello,world!”;
      |              ^~~~~
正在同步测试数据,请稍后

信息

递交者
类型
递交
题目
P1003 Hello World!
语言
C++
递交时间
2024-07-03 20:56:07
评测时间
2024-07-03 20:56:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes