Borderou de evaluare (job #2326238)
Utilizator | Data | 23 ianuarie 2019 13:27:58 | |
---|---|---|---|
Problema | Numere Prime | Status | done |
Runda | simulare_preoli | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int eprim(int)':
main.cpp:8:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=2;i*i<=n;i++)
^~~
main.cpp:11:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 1;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:17:5: error: 'in' was not declared in this scope
in>>k;
^~
main.cpp:29:13: error: 'out' was not declared in this scope
out<<i*i;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !