Borderou de evaluare (job #1796851)

Utilizator NineshadowCarapcea Antonio Nineshadow Data 3 noiembrie 2016 20:35:32
Problema Invers modular Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:39: warning: missing terminating ' character [enabled by default] std::ofstream out("inversmodular.out")'1 ^ user.cpp:3:1: error: missing terminating ' character std::ofstream out("inversmodular.out")'1 ^ user.cpp:4:1: error: expected ‘,’ or ‘;’ before ‘long’ long long x,y,a,n; ^ user.cpp: In function ‘void eucl(long long int, long long int)’: user.cpp:7:9: error: ‘x’ was not declared in this scope x=1; ^ user.cpp:8:9: error: ‘y’ was not declared in this scope y=0; ^ user.cpp:12:13: error: ‘y’ was not declared in this scope int tmp=y; ^ user.cpp:13:7: error: ‘x’ was not declared in this scope y=x-(a/b)*y; ^ user.cpp: In function ‘int main()’: user.cpp:18:9: error: ‘a’ was not declared in this scope in>>a>>n; ^ user.cpp:18:12: error: ‘n’ was not declared in this scope in>>a>>n; ^ user.cpp:20:11: error: ‘x’ was not declared in this scope while(x<0)x+=n; ^ user.cpp:21:10: error: ‘x’ was not declared in this scope out<<x; ^

Ceva nu functioneaza?