Pagini recente » Borderou de evaluare (job #678018) | Borderou de evaluare (job #3022185) | Borderou de evaluare (job #132915) | Borderou de evaluare (job #2076284) | Borderou de evaluare (job #1452343)
Borderou de evaluare (job #1452343)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:23:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[node].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:34:32: 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:34: 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:37:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d %d %d", &n, &m, &root); m ; --m)
^
user.cpp:39:31: 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 | 1436kb | OK | 10 |
| 2 | 0ms | 1444kb | OK | 10 |
| 3 | 0ms | 1436kb | OK | 10 |
| 4 | 4ms | 1512kb | OK | 10 |
| 5 | 12ms | 1580kb | OK | 10 |
| 6 | 56ms | 2164kb | OK | 10 |
| 7 | 160ms | 3304kb | OK | 10 |
| 8 | 144ms | 3248kb | OK | 10 |
| 9 | 816ms | 9068kb | OK | 10 |
| 10 | 816ms | 8972kb | OK | 10 |
| Punctaj total | 100 |