Pagini recente » Borderou de evaluare (job #400035) | Borderou de evaluare (job #2779736) | Borderou de evaluare (job #2565045) | Borderou de evaluare (job #1161886) | Borderou de evaluare (job #2875049)
Borderou de evaluare (job #2875049)
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 |
1 | 30ms | 1253kb | OK | 5 |
2 | 69ms | 1892kb | OK | 5 |
3 | 189ms | 2572kb | OK | 5 |
4 | 1066ms | 13123kb | OK | 5 |
5 | 1163ms | 14761kb | OK | 5 |
6 | 1126ms | 15343kb | OK | 5 |
7 | 1142ms | 15863kb | OK | 5 |
8 | 1100ms | 15302kb | OK | 5 |
9 | 966ms | 6176kb | OK | 5 |
10 | 694ms | 5201kb | OK | 5 |
11 | 856ms | 5980kb | OK | 5 |
12 | 723ms | 4636kb | OK | 5 |
13 | 1109ms | 7327kb | OK | 5 |
14 | 910ms | 7557kb | OK | 5 |
15 | 942ms | 7680kb | OK | 5 |
16 | 1668ms | 12582kb | OK | 5 |
17 | 1783ms | 11218kb | OK | 5 |
18 | 1775ms | 11165kb | OK | 5 |
19 | 1881ms | 11231kb | OK | 5 |
20 | 1626ms | 11583kb | OK | 5 |
Punctaj total | 100 |