Pagini recente » Cod sursa (job #1544871) | Cod sursa (job #2128933) | Borderou de evaluare (job #2018126) | Borderou de evaluare (job #2279017) | Borderou de evaluare (job #1474937)
Borderou de evaluare (job #1474937)
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:40: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 | 1472kb | Incorect | 0 | 0 |
| 2 | 0ms | 1572kb | Incorect | 0 | 0 |
| 3 | 16ms | 3856kb | Incorect | 0 | 0 |
| 4 | 160ms | 17776kb | Incorect | 0 | 0 |
| 5 | 196ms | 29968kb | Incorect | 0 | 0 |
| 6 | 288ms | 29972kb | Incorect | 0 | 0 |
| 7 | 772ms | 35288kb | OK | 10 | 10 |
| 8 | 1368ms | 29968kb | Incorect | 0 | 0 |
| 9 | 1740ms | 29964kb | Incorect | 0 |
| 10 | 1904ms | 29972kb | Incorect | 0 |
| Punctaj total | 10 |