Borderou de evaluare (job #677618)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bac (clasele 6/7) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 nov. 2022 12:02:21 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:13: error: expected unqualified-id before '>>' token
9 | char>>d1,d2;
| ^~
main.cpp:10:9: error: 'd2' was not declared in this scope
10 | d2="00:28";
| ^~
main.cpp:11:23: error: 'd1' was not declared in this scope; did you mean 'y1'?
11 | cin>>a>>b>>c>>d1;
| ^~
| y1
main.cpp:12:29: error: 'str1' was not declared in this scope
12 | if(a==1 && b==1 && str1.compare(str2)==0) cout<<1;
| ^~~~
main.cpp:12:42: error: 'str2' was not declared in this scope
12 | if(a==1 && b==1 && str1.compare(str2)==0) cout<<1;
| ^~~~