Borderou de evaluare (job #2278704)
Utilizator | Data | 8 noiembrie 2018 14:41:45 | |
---|---|---|---|
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:12:7: error: 'j' was not declared in this scope
for(j=i+i;j<=n;j+=i)
^
main.cpp:11:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=2;i<=n;++i)
^~~
main.cpp:14:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
v[1]=1;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !