Pagini recente » Borderou de evaluare (job #121553) | Borderou de evaluare (job #1187199) | Borderou de evaluare (job #2356002) | Borderou de evaluare (job #2130127) | Borderou de evaluare (job #1637757)
Borderou de evaluare (job #1637757)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m); lg=0;
^
user.cpp:19:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=2;i<=n;i++) {scanf("%d", &x); graf[x].push_back(i);}
^
user.cpp: In function ‘int main()’:
user.cpp:34:32: 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:35:34: 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:39: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 |
Punctaj/grupa |
| 1 | 0ms | 1476kb | OK | 10 | 10 |
| 2 | 0ms | 1524kb | OK | 10 | 10 |
| 3 | 16ms | 2732kb | OK | 10 | 10 |
| 4 | 160ms | 10008kb | OK | 10 | 10 |
| 5 | 188ms | 16276kb | OK | 10 | 10 |
| 6 | 284ms | 16272kb | OK | 10 | 10 |
| 7 | 896ms | 21592kb | OK | 10 | 10 |
| 8 | 1444ms | 16272kb | OK | 10 | 30 |
| 9 | 1836ms | 16276kb | OK | 10 |
| 10 | 2044ms | 16268kb | OK | 10 |
| Punctaj total | 100 |