Pagini recente » Borderou de evaluare (job #2006733) | Borderou de evaluare (job #1014538) | Borderou de evaluare (job #928663) | Borderou de evaluare (job #2113483) | Borderou de evaluare (job #1474942)
Borderou de evaluare (job #1474942)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:28: 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:28:30: 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:29:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:30:36: 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); g[x].push_back(i); }
^
user.cpp:39:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y); x=pos[x]; y=pos[y];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1468kb | OK | 10 | 10 |
| 2 | 0ms | 1572kb | OK | 10 | 10 |
| 3 | 16ms | 3932kb | OK | 10 | 10 |
| 4 | 168ms | 18244kb | OK | 10 | 10 |
| 5 | 204ms | 30748kb | OK | 10 | 10 |
| 6 | 304ms | 30752kb | OK | 10 | 10 |
| 7 | 872ms | 36064kb | OK | 10 | 10 |
| 8 | 1500ms | 30748kb | OK | 10 | 30 |
| 9 | 1892ms | 30744kb | OK | 10 |
| 10 | 2112ms | 30748kb | OK | 10 |
| Punctaj total | 100 |