Borderou de evaluare (job #2537666)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 3 februarie 2020 20:58:07
Problema Adlic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int solveEasy(int)': main.cpp:135:43: error: 'MAX' was not declared in this scope first = MAX(first, current) ; ^ main.cpp: In instantiation of 'OutputParsing<F>& OutputParsing<F>::operator<<(F) [with F = int]': main.cpp:157:16: required from here main.cpp:83:9: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: At global scope: main.cpp:140:39: warning: always_inline function might not be inlinable [-Wattributes] __attribute__ ( (always_inline)) void solveNotSoEasy(int n) { ^~~~~~~~~~~~~~ main.cpp:127:38: warning: always_inline function might not be inlinable [-Wattributes] __attribute__ ( (always_inline)) int solveEasy(int n) { ^~~~~~~~~ main.cpp: In member function 'void InputReader<T>::advance() [with T = int]': main.cpp:20:25: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (buffer, SIZE, 1, input_file) ; ^~~~~ main.cpp: In constructor 'InputReader<T>::InputReader(const char*) [with T = int]': main.cpp:28:17: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (buffer, SIZE, 1, input_file) ; ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?