Pagini recente » Borderou de evaluare (job #665076) | Borderou de evaluare (job #1974327) | Borderou de evaluare (job #801720) | Borderou de evaluare (job #379925) | Borderou de evaluare (job #2188226)
Borderou de evaluare (job #2188226)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:100:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &n, &q);
^
user.cpp:101:98: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 2; i <= n; i++) fscanf(fi,"%d%d", &father[i], &len[i]), G[father[i]].push_back(i);
^
user.cpp:105:93: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= q; i++) fscanf(fi,"%d%d%d", &Q[i].x, &Q[i].y, &Q[i].c), Q[i].ind = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 29132kb | OK | 10 | 100 |
2 | 20ms | 29144kb | OK | 10 |
3 | 40ms | 29272kb | OK | 10 |
4 | 72ms | 29364kb | OK | 10 |
5 | 468ms | 34440kb | OK | 10 |
6 | 1056ms | 37420kb | OK | 10 |
7 | 1056ms | 38104kb | OK | 10 |
8 | 1072ms | 37504kb | OK | 10 |
9 | 1032ms | 37256kb | OK | 10 |
10 | 996ms | 37196kb | OK | 10 |
Punctaj total | 100 |