Pagini recente » Borderou de evaluare (job #83350) | Borderou de evaluare (job #211148) | Borderou de evaluare (job #2555501) | Cod sursa (job #2201051) | Borderou de evaluare (job #1453665)
Borderou de evaluare (job #1453665)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in", "r", stdin);
^
user.cpp:44:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out", "w", stdout);
^
user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
G[A[0][i]].push_back(i);
^
user.cpp:58:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
printf("%d\n", LCA(x, y));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1456kb | OK | 10 | 10 |
| 2 | 0ms | 1488kb | OK | 10 | 10 |
| 3 | 16ms | 2168kb | OK | 10 | 10 |
| 4 | 152ms | 6040kb | OK | 10 | 10 |
| 5 | 180ms | 9404kb | OK | 10 | 10 |
| 6 | 288ms | 9404kb | OK | 10 | 10 |
| 7 | 1584ms | 13152kb | OK | 10 | 10 |
| 8 | 1620ms | 9400kb | OK | 10 | 30 |
| 9 | 2004ms | 9404kb | OK | 10 |
| 10 | 2204ms | 9396kb | OK | 10 |
| Punctaj total | 100 |