Borderou de evaluare (job #2370822)

Utilizator bogdi1bogdan bancuta bogdi1 Data 6 martie 2019 13:53:12
Problema PetSoft Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void bfs(int)': main.cpp:23:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<g[q.front()].size(); i++) ~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:64:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("petsoft.in", "r",stdin); ^ main.cpp:65:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("petsoft.out", "w",stdout); ^ main.cpp:67:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:69:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
125ms4194kbCool!10
2101ms4194kbTime limit exceeded0
3100ms4194kbTime limit exceeded0
4103ms4194kbTime limit exceeded0
5101ms4194kbTime limit exceeded0
6101ms4194kbTime limit exceeded0
7100ms4194kbTime limit exceeded0
8101ms4194kbTime limit exceeded0
9101ms4194kbTime limit exceeded0
10100ms4194kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?