Pagini recente » Borderou de evaluare (job #2284284) | Cod sursa (job #2754635) | Borderou de evaluare (job #2762406) | Borderou de evaluare (job #742780) | Borderou de evaluare (job #2470447)
Borderou de evaluare (job #2470447)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:60:15: warning: unused variable 'j' [-Wunused-variable]
int m,n,i,j;
^
main.cpp:58: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);
^
main.cpp:59: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);
^
main.cpp:61:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
main.cpp:63:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&parent[i]);v[parent[i]].push_back(i);}
^
main.cpp:73:28: 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 | 8ms | 2883kb | OK | 10 | 10 |
| 2 | 9ms | 2883kb | OK | 10 | 10 |
| 3 | 24ms | 3145kb | OK | 10 | 10 |
| 4 | 175ms | 4718kb | OK | 10 | 10 |
| 5 | 197ms | 5636kb | OK | 10 | 10 |
| 6 | 301ms | 5767kb | OK | 10 | 10 |
| 7 | 2519ms | 16384kb | OK | 10 | 10 |
| 8 | 1333ms | 8335kb | OK | 10 | 30 |
| 9 | 1976ms | 9175kb | OK | 10 |
| 10 | 2133ms | 9621kb | OK | 10 |
| Punctaj total | 100 |