Pagini recente » Borderou de evaluare (job #393937) | Borderou de evaluare (job #1015665) | Borderou de evaluare (job #1474733) | Borderou de evaluare (job #2850414) | Borderou de evaluare (job #1933697)
Borderou de evaluare (job #1933697)
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:101:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hapsan.in","r",stdin);
^
user.cpp:102:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("hapsan.out","w",stdout);
^
user.cpp: In function ‘void citire()’:
user.cpp:58:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:62:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:65:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:68:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&evr[i].first,&evr[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 336kb | OK | 10 |
2 | 0ms | 372kb | OK | 10 |
3 | 4ms | 508kb | OK | 10 |
4 | 64ms | 2448kb | OK | 10 |
5 | 272ms | 7304kb | OK | 10 |
6 | 0ms | 376kb | OK | 10 |
7 | 4ms | 464kb | OK | 10 |
8 | 144ms | 3732kb | OK | 10 |
9 | 444ms | 7304kb | Incorect | 0 |
10 | 432ms | 7300kb | OK | 10 |
Punctaj total | 90 |