Pagini recente » Borderou de evaluare (job #559461) | Borderou de evaluare (job #2435251) | Borderou de evaluare (job #2697398) | Borderou de evaluare (job #704584) | Borderou de evaluare (job #1981895)
Borderou de evaluare (job #1981895)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:20:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int neighbour=0;neighbour<graph[currentNode].size();neighbour++)
^
user.cpp: In function ‘int main()’:
user.cpp:34:34: 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);
^
user.cpp:35:36: 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);
^
user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &M, &v);
^
user.cpp:41:30: 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 | 0ms | 1616kb | OK | 10 |
2 | 0ms | 1616kb | OK | 10 |
3 | 0ms | 1616kb | OK | 10 |
4 | 4ms | 1680kb | OK | 10 |
5 | 12ms | 1752kb | OK | 10 |
6 | 56ms | 2356kb | OK | 10 |
7 | 160ms | 3532kb | OK | 10 |
8 | 148ms | 3512kb | OK | 10 |
9 | 820ms | 9328kb | OK | 10 |
10 | 808ms | 9172kb | OK | 10 |
Punctaj total | 100 |