Borderou de evaluare (job #2875047)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 20 martie 2022 18:17:34
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
41081ms13733kbOK5
51151ms14872kbOK5
61121ms14876kbOK5
71141ms15876kbOK5
81115ms15380kbOK5
9962ms6045kbOK5
10695ms4608kbOK5
11862ms6557kbOK5
12714ms5353kbOK5
131128ms7065kbOK5
14904ms6230kbOK5
15943ms7766kbOK5
161651ms12627kbOK5
171786ms11198kbOK5
181737ms10723kbOK5
191859ms10715kbOK5
201794ms11186kbOK5
Punctaj total100

Ceva nu functioneaza?