Borderou de evaluare (job #2227392)
Utilizator | Data | 31 iulie 2018 17:52:20 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:44:1: error: ‘deque’ does not name a type
deque <int> q;
^~~~~
user.cpp: In function ‘int main()’:
user.cpp:55:16: error: ‘q’ was not declared in this scope
while(!q.empty() && v[i] <= v[q.back()])
^
user.cpp:57:9: error: ‘q’ was not declared in this scope
q.push_back(i);
^
user.cpp:63:13: error: ‘fout’ was not declared in this scope
fprintf(fout, "%lld", sum);
^~~~
user.cpp:64:12: error: ‘fin’ was not declared in this scope
fclose(fin);
^~~
user.cpp: At global scope:
user.cpp:9:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int read()
^~~~
user.cpp: In function ‘int read()’:
user.cpp:19:48: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, BUFFER_SIZE, stdin);
^
user.cpp:31:48: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, BUFFER_SIZE, stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !