Borderou de evaluare (job #2875055)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 20 martie 2022 18:39:10
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:31:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 31 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: In function 'std::pair<Node*, Node*> split(Node*, int)': main.cpp:151:6: warning: unused variable 'dim_rgh' [-Wunused-variable] 151 | int dim_rgh = (root->rgh ? root->rgh->dim : 0); | ^~~~~~~ main.cpp: At global scope: main.cpp:101:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 101 | __attribute__((always_inline)) void build(Node* lft, Node* root, Node* rgh) { | ^~~~~ main.cpp:59:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 59 | __attribute__((always_inline)) void write_ch(char ch) { | ^~~~~~~~ main.cpp:39:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 39 | __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
259ms1888kbOK5
3170ms2572kbOK5
4927ms13619kbOK5
5999ms14872kbOK5
6956ms15364kbOK5
7974ms15474kbOK5
8932ms15368kbOK5
9846ms5468kbOK5
10609ms5242kbOK5
11761ms6123kbOK5
12637ms5246kbOK5
13980ms7356kbOK5
14803ms5939kbOK5
15840ms7680kbOK5
161483ms12673kbOK5
171581ms11132kbOK5
181573ms11018kbOK5
191687ms10592kbOK5
201573ms11218kbOK5
Punctaj total100

Ceva nu functioneaza?