Borderou de evaluare (job #1330268)

Utilizator tudorcomanTudor Coman tudorcoman Data 30 ianuarie 2015 15:45:38
Problema Divizor si multiplu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long long int Calcul_EXP(long long int&, long long int&)’: user.cpp:40:17: error: ‘n’ was not declared in this scope n /= div[i]; ^ user.cpp:78:12: error: ‘n’ was not declared in this scope if(n > 1) ^ user.cpp: In function ‘int main()’: user.cpp:99:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("divmul.in","r",stdin); ^ user.cpp:100:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("divmul.out","w",stdout); ^ user.cpp:102:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld",&T); ^ user.cpp:108:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld" ,&x ,&y); ^

Ceva nu functioneaza?