Borderou de evaluare (job #2875049)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 20 martie 2022 18:19:29
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:17:21: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 17 | while (inBuffer[p] < 0x30 | inBuffer[p] > 0x39) { | ~~~~~~~~~~~~^~~~~~ main.cpp:18:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 18 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp:21:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 21 | while (inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) { | ~~~~~~~~~~~~^~~~~~ main.cpp:24:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 24 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: In function 'void read(char&)': main.cpp:32:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 32 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: In function 'std::pair<Node*, Node*> split(Node*, int)': main.cpp:152:6: warning: unused variable 'dim_rgh' [-Wunused-variable] 152 | int dim_rgh = (root->rgh ? root->rgh->dim : 0); | ^~~~~~~ main.cpp: At global scope: main.cpp:102:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 102 | __attribute__((always_inline)) void build(Node* lft, Node* root, Node* rgh) { | ^~~~~ main.cpp:60:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 60 | __attribute__((always_inline)) void write_ch(char ch) { | ^~~~~~~~ main.cpp:40:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 40 | __attribute__((always_inline)) void write(unsigned int x) { | ^~~~~ main.cpp:29:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 29 | __attribute__((always_inline)) void read(char& num) { | ^~~~ main.cpp:14:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 14 | __attribute__((always_inline)) void read(int& num) { | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
130ms1253kbOK5
269ms1892kbOK5
3189ms2572kbOK5
41066ms13123kbOK5
51163ms14761kbOK5
61126ms15343kbOK5
71142ms15863kbOK5
81100ms15302kbOK5
9966ms6176kbOK5
10694ms5201kbOK5
11856ms5980kbOK5
12723ms4636kbOK5
131109ms7327kbOK5
14910ms7557kbOK5
15942ms7680kbOK5
161668ms12582kbOK5
171783ms11218kbOK5
181775ms11165kbOK5
191881ms11231kbOK5
201626ms11583kbOK5
Punctaj total100

Ceva nu functioneaza?