Borderou de evaluare (job #1686415)

Utilizator CourageAntal Alexandru Courage Data 12 aprilie 2016 11:23:22
Problema Suma Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:10:22: error: expected initializer before ‘n’ unsigned __int64 n, p; ^ user.cpp:11:12: error: ‘n’ was not declared in this scope fin >> n >> p; ^ user.cpp:11:17: error: ‘p’ was not declared in this scope fin >> n >> p; ^ user.cpp:12:14: error: expected primary-expression before ‘unsigned’ fout << (unsigned __int64) ((n * ((n * n) - 1) / 3)) % p; ^ user.cpp:12:14: error: expected ‘)’ before ‘unsigned’

Ceva nu functioneaza?