Borderou de evaluare (job #720932)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Div3 | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 mai 2023 17:22:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:13: error: overloaded function with no contextual type information
14 | div=0;
| ^
main.cpp:15:23: error: 'X' was not declared in this scope
15 | while(d<=sqrt(X)){
| ^
main.cpp:17:15: error: no post-increment operator for type
17 | div++;
| ^~
main.cpp:21:15: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator=='
21 | if(div==1)
| ~~~^~~