Borderou de evaluare (job #1877170)
Utilizator | Data | 13 februarie 2017 00:58:17 | |
---|---|---|---|
Problema | Vila 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:15: error: variable or field ‘pop_left’ declared void
void pop_left(deq &d, int i)
^
user.cpp:9:15: error: ‘deq’ was not declared in this scope
user.cpp:9:20: error: ‘d’ was not declared in this scope
void pop_left(deq &d, int i)
^
user.cpp:9:23: error: expected primary-expression before ‘int’
void pop_left(deq &d, int i)
^
user.cpp:15:17: error: variable or field ‘push_right’ declared void
void push_right(deq &d, int i, int x)
^
user.cpp:15:17: error: ‘deq’ was not declared in this scope
user.cpp:15:22: error: ‘d’ was not declared in this scope
void push_right(deq &d, int i, int x)
^
user.cpp:15:25: error: expected primary-expression before ‘int’
void push_right(deq &d, int i, int x)
^
user.cpp:15:32: error: expected primary-expression before ‘int’
void push_right(deq &d, int i, int x)
^
user.cpp: In function ‘int main()’:
user.cpp:40:25: error: ‘pop_left’ was not declared in this scope
pop_left(deq_max, i, k);
^
user.cpp:27:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in", "r", stdin);
^
user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.out", "w", stdout);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &k, &x);
^
user.cpp:38:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !