Pagini recente » Borderou de evaluare (job #2323925) | Borderou de evaluare (job #3133152) | Borderou de evaluare (job #2876580) | Borderou de evaluare (job #1286730) | Borderou de evaluare (job #2182059)
Borderou de evaluare (job #2182059)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("piese2.in", "r", stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("piese2.out", "w", stdout);
^
user.cpp:9:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d %d %d", &t, &n, &k); t; --t) {
^
user.cpp:10:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = rs = 0; i < k; ++i) scanf("%d %d", &x, &y), rs += abs(x - y) - 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2884kb | OK | 10 |
2 | 4ms | 2716kb | OK | 10 |
3 | 4ms | 2724kb | OK | 10 |
4 | 28ms | 2840kb | OK | 10 |
5 | 180ms | 2600kb | OK | 10 |
6 | 484ms | 2896kb | OK | 10 |
7 | 520ms | 2900kb | OK | 10 |
8 | 700ms | 2604kb | OK | 10 |
9 | 688ms | 2908kb | OK | 10 |
10 | 680ms | 2840kb | OK | 10 |
Punctaj total | 100 |