Borderou de evaluare (job #2658530)

Utilizator MohneaGosuMihnea Gusu MohneaGosu Data 14 octombrie 2020 11:07:06
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void bfs(int)': main.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<v[nod].size();i++){ ~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:27:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bfs.in","r",stdin); ^ main.cpp:28:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bfs.out","w",stdout); ^ main.cpp:30:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &start); ^ main.cpp:32:31: 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
11056ms24117kbTime limit exceeded0
21052ms24117kbTime limit exceeded0
31053ms24117kbTime limit exceeded0
41051ms24117kbTime limit exceeded0
51050ms24379kbTime limit exceeded0
61053ms25034kbTime limit exceeded0
71051ms26345kbTime limit exceeded0
81051ms26607kbTime limit exceeded0
91051ms32374kbTime limit exceeded0
101052ms32374kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?