Pagini recente » Borderou de evaluare (job #1931602) | Borderou de evaluare (job #2548387) | Borderou de evaluare (job #712036) | Borderou de evaluare (job #2665236) | Borderou de evaluare (job #2185096)
Borderou de evaluare (job #2185096)
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 | 29148kb | OK | 10 |
| 3 | 40ms | 29276kb | OK | 10 |
| 4 | 72ms | 29364kb | OK | 10 |
| 5 | 464ms | 34436kb | OK | 10 |
| 6 | 1052ms | 37424kb | OK | 10 |
| 7 | 1060ms | 38108kb | OK | 10 |
| 8 | 1072ms | 37500kb | OK | 10 |
| 9 | 1036ms | 37252kb | OK | 10 |
| 10 | 996ms | 37200kb | OK | 10 |
| Punctaj total | 100 |