Borderou de evaluare (job #1654813)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 17 martie 2016 15:17:20
Problema Xp Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int calc1(int, int)’: user.cpp:82:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int x , y , z; ^ user.cpp:82:13: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] int x , y , z; ^ user.cpp:82:17: warning: unused variable ‘z’ [-Wunused-variable] int x , y , z; ^ user.cpp: In function ‘int calc2(int, int)’: user.cpp:89:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int x , y , z; ^ user.cpp:89:13: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] int x , y , z; ^ user.cpp:89:17: warning: unused variable ‘z’ [-Wunused-variable] int x , y , z; ^ user.cpp: In function ‘int calc(int, int, int)’: user.cpp:102:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int x , y , t , z; ^ user.cpp:102:13: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] int x , y , t , z; ^ user.cpp:102:17: warning: variable ‘t’ set but not used [-Wunused-but-set-variable] int x , y , t , z; ^ user.cpp:102:21: warning: unused variable ‘z’ [-Wunused-variable] int x , y , t , z; ^ user.cpp: In function ‘int main()’: user.cpp:18:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("xp.in","r",stdin); ^ user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("xp.out","w",stdout); ^ user.cpp:21:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d", &n, &a, &b, &mod, &mod2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms476kbOK10
24ms480kbOK10
336ms476kbOK10
476ms484kbOK10
54ms480kbOK10
6948ms488kbOK10
71136ms488kbOK10
81440ms492kbOK10
91516ms492kbOK10
101516ms484kbOK10
Punctaj total100

Ceva nu functioneaza?