Borderou de evaluare (job #2535781)

Utilizator giotoPopescu Ioan gioto Data 1 februarie 2020 11:20:10
Problema Pamant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", teams.size()); ^ main.cpp:55:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::set<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", art.size()); ^ main.cpp:33:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pamant.in", "r", stdin); ^ main.cpp:34:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pamant.out", "w", stdout); ^ main.cpp:36:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:39:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms2621kbRaspuns corect10
216ms2883kbRaspuns corect10
39ms2621kbRaspuns corect10
466ms4456kbRaspuns corect10
599ms5767kbRaspuns corect10
6153ms7208kbRaspuns corect10
766ms5505kbRaspuns corect10
876ms6021kbRaspuns corect10
9235ms10092kbRaspuns corect10
107ms2490kbRaspuns corect10
Punctaj total100

Ceva nu functioneaza?