Pagini recente » Borderou de evaluare (job #2541342) | Borderou de evaluare (job #3135484) | Borderou de evaluare (job #3242737) | Borderou de evaluare (job #1871576) | Borderou de evaluare (job #2259582)
Borderou de evaluare (job #2259582)
Raport evaluator
Compilare:
main.cpp: In function 'void bfs()':
main.cpp:33:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=0;k<Neighbour[v].size();k++)
~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void Read()':
main.cpp:13: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:14: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:17:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&M,&X);
^
main.cpp:21:28: 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 |
1 | 7ms | 2883kb | OK | 10 |
2 | 7ms | 2883kb | OK | 10 |
3 | 6ms | 2883kb | OK | 10 |
4 | 10ms | 3014kb | OK | 10 |
5 | 13ms | 3145kb | OK | 10 |
6 | 59ms | 3801kb | OK | 10 |
7 | 172ms | 5242kb | OK | 10 |
8 | 162ms | 5767kb | OK | 10 |
9 | 841ms | 11534kb | OK | 10 |
10 | 849ms | 11534kb | OK | 10 |
Punctaj total | 100 |