Borderou de evaluare (job #1384470)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:8: warning: statement has no effect [-Wunused-value] for(x;x<=max && x<N;x+=x) ^ user.cpp:33:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d",max); ^ user.cpp:13:11: warning: unused variable ‘j’ [-Wunused-variable] long x,i,j; ^ user.cpp:11: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:12: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:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:18: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
2Depăşit368kbTime limit exceeded.0
3Depăşit488kbTime limit exceeded.0
4Depăşit836kbTime limit exceeded.0
5Depăşit840kbTime limit exceeded.0
6Depăşit1428kbTime limit exceeded.0
7Depăşit2004kbTime limit exceeded.0
868msDepăşitMemory limit exceeded.0
964msDepăşitMemory limit exceeded.0
1068msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?