Borderou de evaluare (job #2226689)
Utilizator | Data | 30 iulie 2018 15:04:43 | |
---|---|---|---|
Problema | Cautare binara | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:20:0: warning: "BUFFER_SIZE" redefined
#define BUFFER_SIZE 700000
user.cpp:4:0: note: this is the location of the previous definition
#define BUFFER_SIZE 1400000
user.cpp: In function ‘int main()’:
user.cpp:64:20: error: ‘get_number’ was not declared in this scope
N = get_number();
^
user.cpp: At global scope:
user.cpp:24:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void put_int(int x)
^~~~~~~
user.cpp:8:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_int()
^~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:59:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:60:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:62:41: 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 !