Borderou de evaluare (job #1632892)

Utilizator UPB_Hulea_Ionescu_RomanNo Idea UPB_Hulea_Ionescu_Roman Data 6 martie 2016 11:08:21
Problema MaxSubSum Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61:20: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%i\n", max); ^ user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxsubsum.in", "r", stdin); ^ user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxsubsum.out", "w", stdout); ^ user.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &N); ^ user.cpp:13:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &M); ^ user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", vec1 + i); ^ user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", vec2 + i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit16076kbTime limit exceeded.00
2Depăşit16072kbTime limit exceeded.0
3Depăşit16068kbTime limit exceeded.0
4Depăşit16068kbTime limit exceeded.0
5Depăşit16072kbTime limit exceeded.0
6Depăşit16076kbTime limit exceeded.0
7Depăşit16072kbTime limit exceeded.0
8Depăşit16072kbTime limit exceeded.0
9Depăşit16068kbTime limit exceeded.0
10Depăşit16068kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?