Borderou de evaluare (job #1202919)
Utilizator | Data | 30 iunie 2014 02:09:16 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘BitVector::BitVector(int)’:
user.cpp:36:6: warning: ‘BitVector::n’ will be initialized after [-Wreorder]
int n;
^
user.cpp:35:8: warning: ‘char* BitVector::data’ [-Wreorder]
char *data;
^
user.cpp:12:2: warning: when initialized here [-Wreorder]
BitVector(int n) : n(n), data(0)
^
user.cpp:16:24: error: ‘memset’ was not declared in this scope
memset(data, 0, bytes);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !