Pagini recente » Borderou de evaluare (job #1139432) | Borderou de evaluare (job #2346937) | Borderou de evaluare (job #1903631) | Borderou de evaluare (job #1272349) | Borderou de evaluare (job #2034960)
Borderou de evaluare (job #2034960)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x;
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:27:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x),allsum+=x,sp[i] = sp[i-1] + x;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 288kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 352kb | OK | 10 |
| 6 | 0ms | 356kb | OK | 10 |
| 7 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 60 |