Borderou de evaluare (job #2487204)
| Utilizator | Data | 4 noiembrie 2019 10:49:47 | |
|---|---|---|---|
| Problema | Ciurul lui Eratosthenes | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-32 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:8: error: 'N' was not declared in this scope
{ fin>>N;
^
main.cpp:16:15: error: 'cnt' was not declared in this scope
++cnt;
^~~
main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i = 2; i <= N; ++i)
^~~
main.cpp:20:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fout<<cnt;
^~~~
main.cpp:20:15: error: 'cnt' was not declared in this scope
fout<<cnt;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
