Borderou de evaluare (job #2658533)

Utilizator MohneaGosuMihnea Gusu MohneaGosu Data 14 octombrie 2020 11:08:07
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
11053ms2490kbTime limit exceeded0
21052ms2490kbTime limit exceeded0
31050ms2490kbTime limit exceeded0
41052ms2621kbTime limit exceeded0
51051ms2752kbTime limit exceeded0
61052ms3407kbTime limit exceeded0
71050ms4718kbTime limit exceeded0
81052ms5111kbTime limit exceeded0
91050ms10739kbTime limit exceeded0
101050ms10731kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?