Pagini recente » Borderou de evaluare (job #515046) | Borderou de evaluare (job #2391974) | Borderou de evaluare (job #1466986) | Borderou de evaluare (job #1488858) | Borderou de evaluare (job #1460868)
Borderou de evaluare (job #1460868)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in","r",stdin);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out","w",stdout);
^
user.cpp:13:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&k,&a,&b);
^
user.cpp:15:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&S[i]), S[i]= (S[i]+S[i-1])%k;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 4ms | 500kb | OK | 10 |
| 4 | 16ms | 640kb | OK | 10 |
| 5 | 32ms | 832kb | OK | 10 |
| 6 | 52ms | 1592kb | OK | 10 |
| 7 | 60ms | 1240kb | OK | 10 |
| 8 | 80ms | 1500kb | OK | 10 |
| 9 | 124ms | 2276kb | OK | 10 |
| 10 | 160ms | 2388kb | OK | 10 |
| Punctaj total | 100 |