Borderou de evaluare (job #701341)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Alfanumeric (clasa a 5-a) | Compilator | cpp-32 |
Rundă | superoji1 | Status | evaluat |
Dată | 5 mar. 2023 21:34:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:2: error: extended character is not valid in an identifier
1 | #include <fstream>
| ^
main.cpp:1:2: error: invalid preprocessing directive #include\U000000a0
1 | #include <fstream>
| ^~~~~~~~
main.cpp:3:1: error: extended character is not valid in an identifier
3 | using namespace std;
| ^
main.cpp:3:1: error: extended character is not valid in an identifier
main.cpp:5:1: error: extended character is not valid in an identifier
5 | ifstream cin("alfanumeric.in");
| ^
main.cpp:7:1: error: extended character is not valid in an identifier
7 | ofstream cout("alfanumeric.out");
| ^
main.cpp:9:1: error: extended character is not valid in an identifier
9 | int main(){
| ^
main.cpp:11:1: error: extended character is not valid in an identifier
11 | long long n,s=0,i,cnt=0,cnt1=0;
| ^
main.cpp:11:1: error: extended character is not valid in an identifier
main.cpp:13:1: error: extended character is not valid in an identifier
13 | char c;
| ^
main.cpp:25:10: error: extended character is not valid in an identifier
25 | if(c>='0' and c<='9')
| ^
main.cpp:25:10: error: extended character is not valid in an identifier
main.cpp:35:10: error: extended character is not valid in an identifier
35 | if(c>='a' and c<='z')
| ^
main.cpp:35:10: error: extended character is not valid in an identifier
main.cpp:49:10: error: extended character is not valid in an identifier
49 | if(c>='A' and c<='Z')
| ^
main.cpp:49:10: error: extended character is not valid in an identifier
main.cpp:3:1: error: 'using\U000000a0namespace\U000000a0std' does not name a type
3 | using namespace std;
| ^~~~~~~~~~~~~~~~~~~
main.cpp:5:13: error: expected constructor, destructor, or type conversion before '(' token
5 | ifstream cin("alfanumeric.in");
| ^
main.cpp:7:14: error: expected constructor, destructor, or type conversion before '(' token
7 | ofstream cout("alfanumeric.out");
| ^
main.cpp:9:1: error: ISO C++ forbids declaration of 'int\U000000a0main' with no type [-fpermissive]
9 | int main(){
| ^~~~~~~~