Pagini recente » Borderou de evaluare (job #1395588) | Borderou de evaluare (job #3285412) | Borderou de evaluare (job #3140641) | Borderou de evaluare (job #1030616) | Borderou de evaluare (job #1598063)
Borderou de evaluare (job #1598063)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35: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);
^
user.cpp:36: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);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k); lg=0;
^
user.cpp:38:40: 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); grf[x].push_back(i);}
^
user.cpp:42:30: 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 | 8092kb | OK | 10 | 10 |
2 | 12ms | 8104kb | OK | 10 | 10 |
3 | 24ms | 8228kb | OK | 10 | 10 |
4 | 52ms | 8876kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 80ms | 9404kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 84ms | 9400kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 68ms | 14716kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 80ms | 9396kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 80ms | 9400kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 80ms | 9396kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |