Borderou de evaluare (job #2227316)
Utilizator | Data | 31 iulie 2018 17:00:32 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:9: error: ‘BUFFFER_SIZE’ was not declared in this scope
int p = BUFFFER_SIZE;
^~~~~~~~~~~~
user.cpp: In function ‘char next()’:
user.cpp:12:8: error: ‘pos’ was not declared in this scope
if(pos == BUF) fread(buffer, 1, BUFFER_SIZE, stdin), pos = 0;
^~~
user.cpp:12:15: error: ‘BUF’ was not declared in this scope
if(pos == BUF) fread(buffer, 1, BUFFER_SIZE, stdin), pos = 0;
^~~
user.cpp: At global scope:
user.cpp:10:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) char next()
^~~~
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);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !