Borderou de evaluare (job #3227761)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 2 mai 2024 15:19:42
Problema Kami Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void r(int&)': main.cpp:9:28: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 9 | while (inBuffer[p] < 0x30 | inBuffer[p] > 0x39) { | ~~~~~~~~~~~~^~~~~~ main.cpp:10:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 10 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp:12:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 12 | while (inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) { | ~~~~~~~~~~~~^~~~~~ main.cpp:14:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 14 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: At global scope: main.cpp:17:20: error: expected primary-expression before 'long' 17 | mt19937 rng((long) long)(new char)); | ^~~~ main.cpp:17:25: error: expected ',' or ';' before '(' token 17 | mt19937 rng((long) long)(new char)); | ^ main.cpp:6:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 6 | __attribute__((always_inline)) void r(int& u) { | ^ Non zero exit status: 1

Ceva nu functioneaza?