Borderou de evaluare (job #2439817)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 16 iulie 2019 22:21:17
Problema Tygyn Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void read(int&)': main.cpp:19:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39) ~~~~~~~~~~~~^~~~~~ main.cpp:24:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) ~~~~~~~~~~~~^~~~~~ main.cpp: At global scope: main.cpp:13: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:21:24: 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:28:24: 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:34:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("tygyn.in", "r", stdin); ^ main.cpp:35:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("tygyn.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
2113ms9560kbOK1030
3106ms9560kbOK10
4108ms9711kbOK10
5188ms9822kbOK1060
6237ms9691kbOK10
7157ms9691kbOK10
8211ms9822kbOK10
9212ms9691kbOK10
10203ms9822kbOK10
Punctaj total100

Ceva nu functioneaza?