Borderou de evaluare (job #2829090)
Utilizator | Data | 8 ianuarie 2022 11:45:22 | |
---|---|---|---|
Problema | Numere Prime | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:38: error: expected statement at end of input
26 | for(j=2;j*i<=10000000;j++)
| ^
main.cpp:26:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
26 | for(j=2;j*i<=10000000;j++)
| ^~~
main.cpp:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
main.cpp:26:38: error: expected '}' at end of input
26 | for(j=2;j*i<=10000000;j++)
| ^
main.cpp:18:9: note: to match this '{'
18 | {
| ^
main.cpp:26:38: error: expected '}' at end of input
26 | for(j=2;j*i<=10000000;j++)
| ^
main.cpp:16:5: note: to match this '{'
16 | {
| ^
main.cpp:26:38: error: expected '}' at end of input
26 | for(j=2;j*i<=10000000;j++)
| ^
main.cpp:8:1: note: to match this '{'
8 | {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !