Borderou de evaluare (job #712448)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Prime1 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 mar. 2023 19:10:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:6: error: variable or field 'cifre' declared void
9 | void cifre(int &cif,int n)
| ^~~~~
main.cpp:2:13: error: 'usigned' was not declared in this scope; did you mean 'unsigned'?
2 | #define int usigned long long
| ^~~~~~~
main.cpp:9:12: note: in expansion of macro 'int'
9 | void cifre(int &cif,int n)
| ^~~
main.cpp:2:13: error: 'usigned' was not declared in this scope; did you mean 'unsigned'?
2 | #define int usigned long long
| ^~~~~~~
main.cpp:9:21: note: in expansion of macro 'int'
9 | void cifre(int &cif,int n)
| ^~~
main.cpp:2:13: error: 'usigned' was not declared in this scope; did you mean 'unsigned'?
2 | #define int usigned long long
| ^~~~~~~
main.cpp:15:11: note: in expansion of macro 'int'
15 | bool prim(int n)
| ^~~
main.cpp:2:13: error: 'usigned' does not name a type; did you mean 'unsigned'?
2 | #define int usigned long long
| ^~~~~~~
main.cpp:30:1: note: in expansion of macro 'int'
30 | int v[10000000];
| ^~~
main.cpp: In function 'int main()':
main.cpp:2:13: error: 'usigned' was not declared in this scope; did you mean 'unsigned'?
2 | #define int usigned long long
| ^~~~~~~
main.cpp:34:5: note: in expansion of macro 'int'
34 | int n,x,c;
| ^~~
main.cpp:35:10: error: 'c' was not declared in this scope
35 | cin>>c>>n;
| ^
main.cpp:35:13: error: 'n' was not declared in this scope
35 | cin>>c>>n;
| ^
main.cpp:2:21: error: expected ';' before 'long'
2 | #define int usigned long long
| ^~~~
main.cpp:38:9: note: in expansion of macro 'int'
38 | int i=3,cnt=0;
| ^~~
main.cpp:39:9: error: 'v' was not declared in this scope
39 | v[1]=0;
| ^
main.cpp:41:17: error: 'i' was not declared in this scope