Borderou de evaluare (job #1465564)

Utilizator mirupetPetcan Miruna mirupet Data 27 iulie 2015 17:09:14
Problema Inundatie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", w[Div] + (nr - Div) * x); ^ user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("inundatie.in","r",stdin); ^ user.cpp:14:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("inundatie.out","w",stdout); ^ user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:20:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:33:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit268kbTime limit exceeded.0
2Depăşit304kbTime limit exceeded.0
3Depăşit384kbTime limit exceeded.0
4Depăşit532kbTime limit exceeded.0
532ms628kbOK10
6Depăşit740kbTime limit exceeded.0
7Depăşit1000kbTime limit exceeded.0
8Depăşit1160kbTime limit exceeded.0
9Depăşit1320kbTime limit exceeded.0
10Depăşit272kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?