Borderou de evaluare (job #1384482)

Utilizator Kzsolty96SAPIENTIA OSZTIAN DANIEL KUCSVAN Kzsolty96 Data 11 martie 2015 09:50:33
Problema Loto2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d",max); ^ user.cpp:25:11: warning: unused variable ‘j’ [-Wunused-variable] long x,i,j; ^ user.cpp:23:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("loto2.in","r",stdin); ^ user.cpp:24:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("loto2.out","w",stdout); ^ user.cpp:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:30:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms288kbRaspuns corect.100
24ms400kbRaspuns gresit.0
38ms520kbRaspuns gresit.0
420ms872kbRaspuns gresit.0
520ms872kbRaspuns gresit.0
640ms1452kbRaspuns gresit.0
764ms2044kbRaspuns gresit.0
864msDepăşitMemory limit exceeded.0
964msDepăşitMemory limit exceeded.0
1068msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?