Borderou de evaluare (job #2926675)
Utilizator | Data | 18 octombrie 2022 13:32:11 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:13: error: variable 'std::ifstream fin' has initializer but incomplete type
4 | ifstream fin("ciur.in");
| ^
main.cpp:5:14: error: variable 'std::ofstream fout' has initializer but incomplete type
5 | ofstream fout("ciur.out");
| ^
main.cpp: In function 'int main()':
main.cpp:13:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
13 | if (index % 2 == 0 && index != 2 || index % 3 == 0 && index != 3) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !