Borderou de evaluare (job #1740889)
Utilizator | Data | 12 august 2016 14:19:55 | |
---|---|---|---|
Problema | Aby | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘State::State()’:
user.cpp:17:30: error: ‘memset’ was not declared in this scope
memset(adj, 0, 4 * MaxN);
^
user.cpp: In constructor ‘State::State(int)’:
user.cpp:21:30: error: ‘memset’ was not declared in this scope
memset(adj, 0, 4 * MaxN);
^
user.cpp: In copy constructor ‘State::State(const State&)’:
user.cpp:25:34: error: ‘memmove’ was not declared in this scope
memmove(adj, x.adj, 4 * x.N);
^
user.cpp: In constructor ‘State::State(const State&, int)’:
user.cpp:29:34: error: ‘memmove’ was not declared in this scope
memmove(adj, x.adj, 4 * x.N);
^
user.cpp: In function ‘int main()’:
user.cpp:107:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aby.in", "rb", stdin);
^
user.cpp:108:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aby.out", "wb", stdout);
^
user.cpp:111:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numTests);
^
user.cpp:114:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:118:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !