Borderou de evaluare (job #2618911)

Utilizator giotoPopescu Ioan gioto Data 26 mai 2020 16:07:09
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:93: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:147: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:127: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:128: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:130:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:134: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
2153ms131kbTime limit exceeded0
32ms131kbOK!5
4153ms131kbTime limit exceeded0
52ms131kbOK!5
6152ms131kbTime limit exceeded0
72ms131kbOK!5
83ms131kbOK!5
94ms131kbOK!5
104ms131kbOK!5
114ms131kbOK!5
124ms131kbOK!5
13152ms131kbTime limit exceeded0
143ms131kbMuchia nu exista in graf0
154ms131kbOK!5
164ms131kbOK!5
175ms131kbMuchia nu exista in graf0
185ms131kbOK!5
19151ms131kbTime limit exceeded0
204ms131kbOK!5
Punctaj total60

Ceva nu functioneaza?