Pagini recente » Cod sursa (job #643243) | Borderou de evaluare (job #1791084) | Borderou de evaluare (job #2672975) | Borderou de evaluare (job #507319) | Borderou de evaluare (job #1779553)
Borderou de evaluare (job #1779553)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:17:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size(); i ++)
^
user.cpp: In function ‘int main()’:
user.cpp:25: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:26: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:28: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:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1604kb | OK | 10 |
| 2 | 0ms | 1608kb | OK | 10 |
| 3 | 0ms | 1604kb | OK | 10 |
| 4 | 4ms | 1676kb | OK | 10 |
| 5 | 12ms | 1744kb | OK | 10 |
| 6 | 56ms | 2332kb | OK | 10 |
| 7 | 164ms | 3464kb | OK | 10 |
| 8 | 140ms | 3416kb | OK | 10 |
| 9 | 804ms | 9224kb | OK | 10 |
| 10 | 808ms | 9232kb | OK | 10 |
| Punctaj total | 100 |