Pagini recente » Borderou de evaluare (job #2078461) | Borderou de evaluare (job #1467504) | Cod sursa (job #2042411) | Borderou de evaluare (job #1754605) | Borderou de evaluare (job #2472709)
Borderou de evaluare (job #2472709)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:60:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &n, &q) ;
^
main.cpp:64:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &k) ;
^
main.cpp:65:91: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
if (k == 1) fscanf(in, "%d %d", &x, &y), update(1, 1, n, x, x + y - 1, 0) ;
^
main.cpp:66:91: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
if (k == 2) fscanf(in, "%d %d", &x, &y), update(1, 1, n, x, x + y - 1, 1) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 397ms | 1835kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 8ms | 262kb | OK | 10 |
4 | 105ms | 524kb | OK | 10 |
5 | 197ms | 655kb | OK | 10 |
6 | 93ms | 786kb | OK | 10 |
7 | 392ms | 3538kb | OK | 10 |
8 | 356ms | 655kb | OK | 10 |
9 | 247ms | 3407kb | OK | 10 |
10 | 238ms | 3407kb | OK | 10 |
Punctaj total | 100 |