Borderou de evaluare (job #2457639)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 18 septembrie 2019 12:38:06
Problema Tric Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 65

Raport evaluator

Compilare: main.cpp: In function 'void read(int&)': main.cpp:14:21: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39) { ~~~~~~~~~~~~^~~~~~ main.cpp:18:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) { ~~~~~~~~~~~~^~~~~~ main.cpp: In function 'int main()': main.cpp:128:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] printf("%d\n", ans / 3); ^ main.cpp: At global scope: main.cpp:28:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) void write(unsigned int x) { ^~~~~ main.cpp:8: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:15: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:21: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 'char Advance()': main.cpp:55:34: 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, SIZE, stdin); ^ main.cpp: In function 'int main()': main.cpp:100:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("tric.in", "r", stdin); ^ main.cpp:101:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("tric.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
16ms2490kbOK55
288ms2752kbOK55
36ms2621kbOK55
47ms2490kbOK55
58ms2621kbOK55
68ms2621kbOK55
78ms2621kbOK55
88ms2621kbOK55
98ms2621kbOK55
109ms2621kbOK55
1110ms2621kbOK55
1211ms2752kbOK55
13252ms4980kbTime limit exceeded00
1433ms3407kbOK5
1574ms4456kbOK5
16108ms5505kbOK5
1746ms6676kbOK5
18157ms6160kbOK5
19162ms6160kbOK5
207ms2490kbOK55
Punctaj total65

Ceva nu functioneaza?