Pagini recente » Borderou de evaluare (job #1223267) | Borderou de evaluare (job #2954189) | Borderou de evaluare (job #788748) | Borderou de evaluare (job #1467945) | Borderou de evaluare (job #1244838)
Borderou de evaluare (job #1244838)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:23:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < adj[next.first].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:34: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);
^
user.cpp:35: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);
^
user.cpp:36: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);
^
user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &from, &to);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1840kb | OK | 10 |
2 | 0ms | 1840kb | OK | 10 |
3 | 0ms | 1840kb | OK | 10 |
4 | 4ms | 1840kb | OK | 10 |
5 | 12ms | 2104kb | OK | 10 |
6 | 56ms | 2648kb | OK | 10 |
7 | 160ms | 3716kb | OK | 10 |
8 | 144ms | 3420kb | OK | 10 |
9 | 812ms | 9496kb | OK | 10 |
10 | 816ms | 9496kb | OK | 10 |
Punctaj total | 100 |