Pagini recente » Borderou de evaluare (job #222208) | Borderou de evaluare (job #1648192) | Borderou de evaluare (job #2840557) | Cod sursa (job #249804) | Borderou de evaluare (job #2432439)
Borderou de evaluare (job #2432439)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::bfs_min_distance(int)':
main.cpp:51:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1 ; i < distance.size() ; ++i) {
~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:67:31: 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:68:33: 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:70:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &M, &S);
^
main.cpp:76:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &src, &dest);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 8ms | 131kb | OK | 10 |
| 5 | 16ms | 262kb | OK | 10 |
| 6 | 72ms | 1572kb | OK | 10 |
| 7 | 198ms | 3801kb | OK | 10 |
| 8 | 163ms | 5767kb | OK | 10 |
| 9 | 857ms | 11534kb | OK | 10 |
| 10 | 983ms | 11534kb | OK | 10 |
| Punctaj total | 100 |