Borderou de evaluare (job #2914736)

Utilizator redstonegamer22Andrei Ion redstonegamer22 Data 20 iulie 2022 22:16:37
Problema NrChei Status done
Runda Algoritmiada 2022 - Runda 4 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:11:30: error: 'a' was not declared in this scope 11 | int n, sigma, mod; in >> a >> b; | ^ main.cpp:11:35: error: 'b' was not declared in this scope 11 | int n, sigma, mod; in >> a >> b; | ^ main.cpp:15:45: warning: right shift count is negative [-Wshift-count-negative] 15 | if(15 <= BIT && BIT < 30) bits = (sigma >> (2 * BIT - 30)) & 0b11; | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:16:43: warning: right shift count is negative [-Wshift-count-negative] 16 | if(30 <= BIT && BIT < 45) bits = (mod >> (2 * BIT - 60)) & 0b11; | ~~~~^~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?