Borderou de evaluare (job #1830195)
Utilizator | Data | 16 decembrie 2016 13:15:12 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:21: error: variable ‘std::ifstream in’ has initializer but incomplete type
std::ifstream in("ciur.in");
^
user.cpp:15:28: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(ciur,true,sizeof(ciur));
^
user.cpp:25:22: error: variable ‘std::ofstream out’ has initializer but incomplete type
std::ofstream out("ciur.out");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !