Pagini recente » Borderou de evaluare (job #1187298) | Borderou de evaluare (job #1202878) | Borderou de evaluare (job #1874588) | Borderou de evaluare (job #2692112) | Borderou de evaluare (job #1423654)
Borderou de evaluare (job #1423654)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:12:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < adj[u].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:37:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < topo.size(); i++) {
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sortaret.in", "r", stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sortaret.out", "w", stdout);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:28:24: 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 | 1236kb | OK | 10 |
| 2 | 0ms | 1240kb | OK | 10 |
| 3 | 0ms | 1252kb | OK | 10 |
| 4 | 0ms | 1272kb | OK | 10 |
| 5 | 4ms | 1312kb | OK | 10 |
| 6 | 8ms | 1380kb | OK | 10 |
| 7 | 16ms | 1540kb | OK | 10 |
| 8 | 28ms | 1656kb | OK | 10 |
| 9 | 56ms | 1976kb | OK | 10 |
| 10 | 92ms | 2372kb | OK | 10 |
| Punctaj total | 100 |