Pagini recente » Borderou de evaluare (job #2940586) | Borderou de evaluare (job #722679) | Borderou de evaluare (job #486481) | Borderou de evaluare (job #2888178) | Borderou de evaluare (job #1474943)
Borderou de evaluare (job #1474943)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28: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:29: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:30: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:31: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 | 1480kb | OK | 10 | 10 |
2 | 0ms | 1564kb | OK | 10 | 10 |
3 | 16ms | 3932kb | OK | 10 | 10 |
4 | 172ms | 18200kb | OK | 10 | 10 |
5 | 204ms | 30732kb | OK | 10 | 10 |
6 | 308ms | 30728kb | OK | 10 | 10 |
7 | 868ms | 36048kb | OK | 10 | 10 |
8 | 1488ms | 30728kb | OK | 10 | 30 |
9 | 1872ms | 30728kb | OK | 10 |
10 | 2104ms | 30728kb | OK | 10 |
Punctaj total | 100 |