Pagini recente » Borderou de evaluare (job #160009) | Borderou de evaluare (job #268301) | Borderou de evaluare (job #1928831) | Borderou de evaluare (job #581555) | Borderou de evaluare (job #2165401)
Borderou de evaluare (job #2165401)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:18:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<G[x].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:30: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:31: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:33:32: 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:36: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 | 4ms | 3900kb | OK | 10 |
| 2 | 4ms | 3876kb | OK | 10 |
| 3 | 4ms | 4024kb | OK | 10 |
| 4 | 8ms | 4048kb | OK | 10 |
| 5 | 16ms | 4024kb | OK | 10 |
| 6 | 68ms | 4504kb | OK | 10 |
| 7 | 180ms | 5544kb | OK | 10 |
| 8 | 160ms | 5324kb | OK | 10 |
| 9 | 920ms | 10940kb | OK | 10 |
| 10 | 912ms | 11012kb | OK | 10 |
| Punctaj total | 100 |