Borderou de evaluare (job #2360632)
Utilizator | Data | 1 martie 2019 23:49:51 | |
---|---|---|---|
Problema | SuperP | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool prim(long long int)':
main.cpp:31:23: error: expected ';' before ')' token
for(int d=2;d*d<=x);d++)
^
main.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int d=2;d*d<=x);d++)
^~~
main.cpp:31:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int d=2;d*d<=x);d++)
^
main.cpp:31:25: error: 'd' was not declared in this scope
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !