Borderou de evaluare (job #2148383)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 1 martie 2018 18:16:25
Problema Sabotaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:180:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<std::pair<int, int> >::size_type {aka long unsigned int}’ [-Wformat=] printf("%d\n", e.size()); ^ user.cpp:151:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sabotaj.in", "r", stdin); ^ user.cpp:152:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sabotaj.out", "w", stdout); ^ user.cpp:156:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:160:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms9544kbRaspuns corect. Felicitari!10
228ms9552kbRaspuns corect. Felicitari!10
344ms9556kbRaspuns corect. Felicitari!10
4116ms9612kbRaspuns corect. Felicitari!10
5164ms9668kbRaspuns corect. Felicitari!10
6200ms9748kbRaspuns corect. Felicitari!10
7368ms9848kbRaspuns corect. Esti tare!10
8Depăşit10096kbTime limit exceeded.0
9404ms9840kbRaspuns corect. Esti tare!10
10Depăşit10012kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?