Borderou de evaluare (job #2875048)
Utilizator | Data | 20 martie 2022 18:17:59 | |
---|---|---|---|
Problema | Secv8 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de 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: At global scope:
main.cpp:67:1: error: 'mt19937' does not name a type
67 | mt19937 rng(0);
| ^~~~~~~
main.cpp: In function 'std::pair<Node*, Node*> split(Node*, int)':
main.cpp:155:6: warning: unused variable 'dim_rgh' [-Wunused-variable]
155 | int dim_rgh = (root->rgh ? root->rgh->dim : 0);
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:217:48: error: 'rng' was not declared in this scope
217 | shuffle(priorities.begin(), priorities.end(), rng);
| ^~~
main.cpp: At global scope:
main.cpp:62:37: warning: 'always_inline' function might not be inlinable [-Wattributes]
62 | __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) {
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !