Borderou de evaluare (job #2146696)

Utilizator tiberiu392Tiberiu Ungurianu tiberiu392 Data 28 februarie 2018 10:01:34
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘char divetimp(long long int, long long int, int)’: user.cpp:54:9: error: ‘n1’ was not declared in this scope n1++; ^ user.cpp:69:13: error: ‘n1’ was not declared in this scope n1++; n+=2; ^ user.cpp:73:18: error: ‘n1’ was not declared in this scope n++; n1+=2; ^ user.cpp:79:13: error: ‘n1’ was not declared in this scope n1 += (n * 3/8) / k; ^ user.cpp:85:13: error: ‘n1’ was not declared in this scope n1 += (n * 2/8) / k; ^ user.cpp:91:13: error: ‘n1’ was not declared in this scope n1 += (n * 1/8) / k; ^ user.cpp: In function ‘void solve()’: user.cpp:104:9: error: expected ‘,’ or ‘;’ before ‘if’ if( n < n ) ^ user.cpp:106:18: error: ‘n1’ was not declared in this scope sol=0, n=n1=0; ^

Ceva nu functioneaza?