Pagini recente » Borderou de evaluare (job #732452) | Borderou de evaluare (job #960388) | Borderou de evaluare (job #60199) | Borderou de evaluare (job #960381) | Borderou de evaluare (job #1499485)
Borderou de evaluare (job #1499485)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:67: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(t--) {Read(x); Read(y); printf("%ld\n",a[y]-a[x-1]+y-x+1);}
^
user.cpp: In function ‘void Next()’:
user.cpp:12:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread (sir, 1, maxl, stdin), pos = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv2.in","r",stdin);
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv2.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 468ms | 8040kb | OK | 5 |
| 2 | 464ms | 8036kb | OK | 5 |
| 3 | 468ms | 8044kb | OK | 5 |
| 4 | 464ms | 8040kb | OK | 5 |
| 5 | 468ms | 8056kb | OK | 5 |
| 6 | 468ms | 8056kb | OK | 5 |
| 7 | 472ms | 8156kb | Incorect | 0 |
| 8 | 472ms | 8156kb | Incorect | 0 |
| 9 | 524ms | 9016kb | Incorect | 0 |
| 10 | 524ms | 9020kb | Incorect | 0 |
| 11 | 528ms | 9016kb | Incorect | 0 |
| 12 | 532ms | 9020kb | Incorect | 0 |
| 13 | 528ms | 9016kb | Incorect | 0 |
| 14 | 532ms | 9020kb | Incorect | 0 |
| 15 | 528ms | 9016kb | Incorect | 0 |
| 16 | 532ms | 9012kb | Incorect | 0 |
| 17 | 528ms | 9020kb | Incorect | 0 |
| 18 | 528ms | 9020kb | Incorect | 0 |
| 19 | 528ms | 9016kb | Incorect | 0 |
| 20 | 528ms | 9020kb | Incorect | 0 |
| Punctaj total | 30 |