Pagini recente » Borderou de evaluare (job #2757210) | Borderou de evaluare (job #2602243) | Borderou de evaluare (job #163925) | Borderou de evaluare (job #947998) | Borderou de evaluare (job #1798889)
Borderou de evaluare (job #1798889)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:21:49: 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:25: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:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inversari.in","r",stdin);
^
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inversari.out","w",stdout);
^
user.cpp:47:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:48:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; ++i) scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 312kb | OK | 10 |
| 2 | 4ms | 372kb | OK | 10 |
| 3 | 8ms | 460kb | OK | 10 |
| 4 | 12ms | 544kb | OK | 10 |
| 5 | 52ms | 1096kb | OK | 10 |
| 6 | 136ms | 1912kb | OK | 10 |
| 7 | 160ms | 1932kb | OK | 10 |
| 8 | 188ms | 1932kb | OK | 10 |
| 9 | 188ms | 1928kb | OK | 10 |
| 10 | 196ms | 1932kb | OK | 10 |
| Punctaj total | 100 |