Borderou de evaluare (job #602897)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Păpușa (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 aug. 2021 09:07:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:13: error: stray '#' in program
13 | if(c==1)#include <iostream>
| ^
main.cpp: In function 'int main()':
main.cpp:13:14: error: 'include' was not declared in this scope
13 | if(c==1)#include <iostream>
| ^~~~~~~
main.cpp:13:31: error: expected primary-expression before '>' token
13 | if(c==1)#include <iostream>
| ^
main.cpp:15:1: error: expected primary-expression before 'using'
15 | using namespace std;
| ^~~~~
main.cpp:19:1: error: a function-definition is not allowed here before '{' token
19 | {
| ^
main.cpp:115:5: error: 'else' without a previous 'if'
115 | else
| ^~~~
main.cpp:17:5: warning: unused variable 'v' [-Wunused-variable]
17 | int v[1001];
| ^