Borderou de evaluare (job #2875040)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 20 martie 2022 18:10:50
Problema Secv8 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:21:21: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 21 | while (inBuffer[p] < 0x30 | inBuffer[p] > 0x39) { | ~~~~~~~~~~~~^~~~~~ main.cpp:22:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 22 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp:25:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 25 | while (inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) { | ~~~~~~~~~~~~^~~~~~ main.cpp:28:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 28 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: In function 'void read(char&)': main.cpp:36:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 36 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: In function 'std::pair<Node*, Node*> split(Node*, int)': main.cpp:132:6: warning: unused variable 'dim_rgh' [-Wunused-variable] 132 | int dim_rgh = (root->rgh ? root->rgh->dim : 0); | ^~~~~~~ main.cpp: At global scope: main.cpp:33:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 33 | __attribute__((always_inline)) void read(char& num) { | ^~~~ main.cpp:18:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 18 | __attribute__((always_inline)) void read(int& num) { | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
130ms1269kbOK5
273ms1896kbOK5
3208ms2568kbOK5
41189ms10100kbOK5
51251ms11186kbOK5
61200ms11710kbOK5
71247ms12275kbOK5
81197ms11743kbOK5
91000ms5136kbOK5
10738ms4464kbOK5
11910ms5783kbOK5
12750ms4472kbOK5
131146ms6148kbOK5
14967ms5582kbOK5
151011ms6631kbOK5
161779ms9031kbOK5
171864ms7561kbOK5
181860ms7483kbOK5
191933ms7569kbOK5
201867ms7553kbOK5
Punctaj total100

Ceva nu functioneaza?