Borderou de evaluare (job #3187148)

Utilizator xiaolaobanCorman Denis xiaolaoban Data 27 decembrie 2023 19:40:58
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void boris()': main.cpp:8:9: error: 'fin' was not declared in this scope; did you mean 'sin'? 8 | fin>>n>>p | ^~~ | sin main.cpp:17:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 17 | int main(){ | ^~ main.cpp:17:9: note: remove parentheses to default-initialize a variable 17 | int main(){ | ^~ | -- main.cpp:17:9: note: or replace parentheses with braces to value-initialize a variable main.cpp:17:11: error: a function-definition is not allowed here before '{' token 17 | int main(){ | ^ main.cpp:21:2: error: expected '}' at end of input 21 | } | ^ main.cpp:5:13: note: to match this '{' 5 | void boris(){ | ^ main.cpp:6:13: warning: unused variable 'mod' [-Wunused-variable] 6 | int mod = 1999999973; | ^~~ main.cpp:7:19: warning: unused variable 'j' [-Wunused-variable] 7 | int n, p, j = 1; // 2 4 | ^ Non zero exit status: 1

Ceva nu functioneaza?