Pagini recente » Borderou de evaluare (job #1471432) | Borderou de evaluare (job #424511) | Borderou de evaluare (job #1122691) | Borderou de evaluare (job #1964523) | Borderou de evaluare (job #2102344)
Borderou de evaluare (job #2102344)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:14:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:19:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("nrsec.in","r",stdin);
^
user.cpp:66:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("nrsec.out","w",stdout);
^
user.cpp:67:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 852kb | OK | 10 |
| 2 | 0ms | 856kb | OK | 10 |
| 3 | 4ms | 868kb | OK | 10 |
| 4 | 36ms | 1048kb | OK | 10 |
| 5 | 240ms | 2456kb | OK | 10 |
| 6 | 408ms | 2448kb | OK | 10 |
| 7 | 420ms | 2452kb | OK | 10 |
| 8 | 416ms | 2452kb | OK | 10 |
| 9 | 428ms | 2456kb | OK | 10 |
| 10 | 404ms | 2448kb | OK | 10 |
| Punctaj total | 100 |