Borderou de evaluare (job #2148389)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 1 martie 2018 18:18:59
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:182: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:167:9: warning: variable ‘id’ set but not used [-Wunused-but-set-variable] int id = 0; ^ 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
116ms9548kbRaspuns corect. Felicitari!10
224ms9548kbRaspuns corect. Felicitari!10
340ms9552kbRaspuns corect. Felicitari!10
4116ms9612kbRaspuns corect. Felicitari!10
5164ms9668kbRaspuns corect. Felicitari!10
6196ms9744kbRaspuns corect. Felicitari!10
7364ms9852kbRaspuns corect. Esti tare!10
8Depăşit10096kbTime limit exceeded.0
9404ms9836kbRaspuns corect. Esti tare!10
10Depăşit10076kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?