Pagini recente » Borderou de evaluare (job #3150506) | Borderou de evaluare (job #1699467) | Borderou de evaluare (job #161282) | Borderou de evaluare (job #730735) | Borderou de evaluare (job #1220306)
Borderou de evaluare (job #1220306)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:23:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < gr[x].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:36:29: 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:37:31: 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:39:31: 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:41:25: 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 | 1596kb | OK | 10 |
2 | 0ms | 1604kb | OK | 10 |
3 | 0ms | 1596kb | OK | 10 |
4 | 4ms | 1668kb | OK | 10 |
5 | 12ms | 1732kb | OK | 10 |
6 | 60ms | 2324kb | OK | 10 |
7 | 164ms | 3464kb | OK | 10 |
8 | 156ms | 3408kb | OK | 10 |
9 | 816ms | 9216kb | OK | 10 |
10 | 812ms | 9112kb | OK | 10 |
Punctaj total | 100 |