Pagini recente » Borderou de evaluare (job #743650) | Borderou de evaluare (job #1479844) | Borderou de evaluare (job #2327079) | Borderou de evaluare (job #929607) | Borderou de evaluare (job #1499484)
Borderou de evaluare (job #1499484)
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 ‘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 | 288ms | 4132kb | OK | 5 |
| 2 | 300ms | 4132kb | OK | 5 |
| 3 | 300ms | 4136kb | OK | 5 |
| 4 | 300ms | 4132kb | OK | 5 |
| 5 | 288ms | 4140kb | OK | 5 |
| 6 | 288ms | 4144kb | OK | 5 |
| 7 | 292ms | 4252kb | Incorect | 0 |
| 8 | 292ms | 4252kb | Incorect | 0 |
| 9 | 336ms | 5108kb | Incorect | 0 |
| 10 | 336ms | 5112kb | Incorect | 0 |
| 11 | 348ms | 5108kb | Incorect | 0 |
| 12 | 348ms | 5108kb | Incorect | 0 |
| 13 | 340ms | 5108kb | Incorect | 0 |
| 14 | 344ms | 5104kb | Incorect | 0 |
| 15 | 352ms | 5104kb | Incorect | 0 |
| 16 | 344ms | 5108kb | Incorect | 0 |
| 17 | 352ms | 5108kb | Incorect | 0 |
| 18 | 344ms | 5112kb | Incorect | 0 |
| 19 | 352ms | 5108kb | Incorect | 0 |
| 20 | 340ms | 5112kb | Incorect | 0 |
| Punctaj total | 30 |