Pagini recente » Borderou de evaluare (job #2797738) | Borderou de evaluare (job #1402203) | Borderou de evaluare (job #3129932) | Borderou de evaluare (job #2355606) | Borderou de evaluare (job #2432435)
Borderou de evaluare (job #2432435)
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 | 10ms | 524kb | OK | 10 |
5 | 20ms | 786kb | OK | 10 |
6 | 87ms | 3145kb | OK | 10 |
7 | 226ms | 8126kb | OK | 10 |
8 | 207ms | 8126kb | OK | 10 |
9 | 1052ms | 35389kb | Time limit exceeded | 0 |
10 | 1052ms | 35389kb | Time limit exceeded | 0 |
Punctaj total | 80 |