Borderou de evaluare (job #2227343)
Utilizator | Data | 31 iulie 2018 17:14:48 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int get_int()’:
user.cpp:31:21: error: ‘semn’ was not declared in this scope
return number * semn;
^~~~
user.cpp: In function ‘int main()’:
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("deque.in", "r", stdin);
^
user.cpp:41:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("deque.out", "w", stdout);
^
user.cpp: In function ‘char next()’:
user.cpp:12:69: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(p == BUFFER_SIZE) fread(buffer, 1, BUFFER_SIZE, stdin), p = 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !