Borderou de evaluare (job #2875045)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 20 martie 2022 18:16:38
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:19:21: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 19 | while (inBuffer[p] < 0x30 | inBuffer[p] > 0x39) { | ~~~~~~~~~~~~^~~~~~ main.cpp:20:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 20 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp:23:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 23 | while (inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) { | ~~~~~~~~~~~~^~~~~~ main.cpp:26:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 26 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: In function 'void read(char&)': main.cpp:34:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 34 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: In function 'std::pair<Node*, Node*> split(Node*, int)': main.cpp:157:6: warning: unused variable 'dim_rgh' [-Wunused-variable] 157 | int dim_rgh = (root->rgh ? root->rgh->dim : 0); | ^~~~~~~ main.cpp: At global scope: main.cpp:64:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 64 | __attribute__((always_inline)) void write_ch(char ch) | ^~~~~~~~ main.cpp:42:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 42 | __attribute__((always_inline)) void write(unsigned int x) | ^~~~~ main.cpp:31:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 31 | __attribute__((always_inline)) void read(char& num) { | ^~~~ main.cpp:16:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 16 | __attribute__((always_inline)) void read(int& num) { | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
130ms1253kbOK5
269ms1892kbOK5
3194ms2838kbOK5
41061ms13541kbOK5
51136ms14876kbOK5
61111ms15343kbOK5
71118ms15826kbOK5
81085ms15372kbOK5
9943ms5820kbOK5
10695ms5242kbOK5
11848ms6418kbOK5
12700ms5341kbOK5
131089ms7315kbOK5
14900ms6557kbOK5
15928ms7745kbOK5
161663ms12615kbOK5
171759ms11038kbOK5
181775ms10399kbOK5
191879ms11231kbOK5
201761ms11022kbOK5
Punctaj total100

Ceva nu functioneaza?