Pagini recente » Monitorul de evaluare | Cod sursa (job #3289954) | Cod sursa (job #1032490) | Cod sursa (job #1716939) | Borderou de evaluare (job #51069)
Borderou de evaluare (job #51069)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dijkstra(int*, int)’:
user.cpp:19:49: error: ‘memset’ was not declared in this scope
H.clear(); memset( d, 0x3f, sizeof(int) * MAXN );
^
user.cpp: In function ‘int bfs()’:
user.cpp:51:25: error: ‘memset’ was not declared in this scope
memset(p, -1, sizeof(p));
^
user.cpp: In function ‘int main()’:
user.cpp:134:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trafic.in", "rt", stdin);
^
user.cpp:135:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trafic.out", "wt", stdout);
^
user.cpp:137:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d %d %d", &N, &M, &G); M; M--)
^
user.cpp:140:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &i, &j, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 448kb | OK | 5 |
| 2 | 4ms | 12kb | OK | 5 |
| 3 | 0ms | 8kb | OK | 5 |
| 4 | 4ms | 16kb | OK | 5 |
| 5 | 0ms | 8kb | OK | 5 |
| 6 | 0ms | 12kb | OK | 5 |
| 7 | 4ms | 12kb | OK | 5 |
| 8 | 12ms | 416kb | OK | 5 |
| 9 | 4ms | 364kb | OK | 5 |
| 10 | 12ms | 308kb | OK | 5 |
| 11 | 8ms | 300kb | OK | 5 |
| 12 | 8ms | 332kb | OK | 5 |
| 13 | 0ms | 12kb | OK | 5 |
| 14 | 12ms | 444kb | OK | 5 |
| 15 | 8ms | 380kb | OK | 5 |
| 16 | 4ms | 8kb | OK | 5 |
| 17 | 0ms | 8kb | OK | 5 |
| 18 | 4ms | 8kb | OK | 5 |
| 19 | 4ms | 8kb | OK | 5 |
| 20 | 0ms | 12kb | OK | 5 |
| Punctaj total | 0 |