Borderou de evaluare (job #2443250)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 27 iulie 2019 10:52:50
Problema Produse2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void read(int&)': main.cpp:12:21: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39) { ~~~~~~~~~~~~^~~~~~ main.cpp:16:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) { ~~~~~~~~~~~~^~~~~~ main.cpp: At global scope: main.cpp:6:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) void read(int &num) { ^~~~ main.cpp: In function 'void read(int&)': main.cpp:13:20: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:19:20: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:29:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("produse2.in","r",stdin); ^ main.cpp:30:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("produse2.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12203ms1572kbTime limit exceeded00
237ms1572kbKilled by Signal 80
3169ms2883kbKilled by Signal 80
474ms1572kbOK25
Punctaj total0

Ceva nu functioneaza?