Borderou de evaluare (job #2226945)
Utilizator | Data | 30 iulie 2018 20:35:02 | |
---|---|---|---|
Problema | Elementul majoritar | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:10: error: ‘STDIN_FILENO’ was not declared in this scope
read(STDIN_FILENO, inBuffer, 6000000);
^~~~~~~~~~~~
user.cpp:24:41: error: ‘read’ was not declared in this scope
read(STDIN_FILENO, inBuffer, 6000000);
^
user.cpp: At global scope:
user.cpp:5:45: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) unsigned int get_number()
^~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in", "r", stdin);
^
user.cpp:22:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !