Pagini recente » Borderou de evaluare (job #2147746) | Borderou de evaluare (job #281474) | Borderou de evaluare (job #175532) | Borderou de evaluare (job #228120) | Borderou de evaluare (job #2187875)
Borderou de evaluare (job #2187875)
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 | 29128kb | OK | 10 | 100 |
| 2 | 20ms | 29144kb | OK | 10 |
| 3 | 40ms | 29280kb | OK | 10 |
| 4 | 72ms | 29360kb | OK | 10 |
| 5 | 464ms | 34440kb | OK | 10 |
| 6 | 1052ms | 37424kb | OK | 10 |
| 7 | 1060ms | 38100kb | OK | 10 |
| 8 | 1072ms | 37504kb | OK | 10 |
| 9 | 1032ms | 37256kb | OK | 10 |
| 10 | 1000ms | 37200kb | OK | 10 |
| Punctaj total | 100 |