Pagini recente » Borderou de evaluare (job #2774219) | Borderou de evaluare (job #2906459) | Borderou de evaluare (job #2774154) | Borderou de evaluare (job #2556395) | Borderou de evaluare (job #1474935)
Borderou de evaluare (job #1474935)
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 | OK | 10 | 10 |
2 | 0ms | 1568kb | Incorect | 0 | 0 |
3 | 16ms | 3892kb | Incorect | 0 | 0 |
4 | 172ms | 18004kb | Incorect | 0 | 0 |
5 | 204ms | 30356kb | Incorect | 0 | 0 |
6 | 304ms | 30356kb | Incorect | 0 | 0 |
7 | 860ms | 35672kb | OK | 10 | 10 |
8 | 1500ms | 30356kb | Incorect | 0 | 0 |
9 | 1876ms | 30360kb | Incorect | 0 |
10 | 2076ms | 30360kb | Incorect | 0 |
Punctaj total | 20 |