Pagini recente » Borderou de evaluare (job #453972) | Borderou de evaluare (job #2976447) | Borderou de evaluare (job #2759158) | Borderou de evaluare (job #7528) | Borderou de evaluare (job #2875055)
Borderou de evaluare (job #2875055)
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 |
1 | 30ms | 1253kb | OK | 5 |
2 | 59ms | 1888kb | OK | 5 |
3 | 170ms | 2572kb | OK | 5 |
4 | 927ms | 13619kb | OK | 5 |
5 | 999ms | 14872kb | OK | 5 |
6 | 956ms | 15364kb | OK | 5 |
7 | 974ms | 15474kb | OK | 5 |
8 | 932ms | 15368kb | OK | 5 |
9 | 846ms | 5468kb | OK | 5 |
10 | 609ms | 5242kb | OK | 5 |
11 | 761ms | 6123kb | OK | 5 |
12 | 637ms | 5246kb | OK | 5 |
13 | 980ms | 7356kb | OK | 5 |
14 | 803ms | 5939kb | OK | 5 |
15 | 840ms | 7680kb | OK | 5 |
16 | 1483ms | 12673kb | OK | 5 |
17 | 1581ms | 11132kb | OK | 5 |
18 | 1573ms | 11018kb | OK | 5 |
19 | 1687ms | 10592kb | OK | 5 |
20 | 1573ms | 11218kb | OK | 5 |
Punctaj total | 100 |