Borderou de evaluare (job #2618906)

Utilizator giotoPopescu Ioan gioto Data 26 mai 2020 15:58:36
Problema Plimbare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'void solve(std::vector<int>&)': main.cpp:90:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cyc.size() - 1 ; ++i) { ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:160:30: 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", ans.size()); ^ main.cpp:126:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("plimbare.in", "r", stdin); ^ main.cpp:127:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("plimbare.out", "w", stdout); ^ main.cpp:131:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:147:30: 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
1153ms131kbTime limit exceeded0
2157ms131kbTime limit exceeded0
33ms131kbOK!5
4152ms131kbTime limit exceeded0
52ms131kbOK!5
63ms131kbOK!5
73ms131kbOK!5
83ms131kbOK!5
94ms131kbOK!5
104ms131kbOK!5
114ms131kbOK!5
124ms131kbOK!5
13152ms131kbTime limit exceeded0
143ms131kbMuchia nu exista in graf0
154ms131kbOK!5
164ms131kbOK!5
175ms131kbNu e drum maxim0
185ms131kbOK!5
19153ms131kbTime limit exceeded0
204ms131kbNu e drum maxim0
Punctaj total60

Ceva nu functioneaza?