Pagini recente » Borderou de evaluare (job #1936278) | Borderou de evaluare (job #2367513) | Borderou de evaluare (job #1534464) | Borderou de evaluare (job #19422) | Borderou de evaluare (job #1929662)
Borderou de evaluare (job #1929662)
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:100: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:101: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 | 340kb | OK | 10 |
2 | 0ms | 380kb | OK | 10 |
3 | 4ms | 508kb | OK | 10 |
4 | 68ms | 2448kb | OK | 10 |
5 | 284ms | 7316kb | OK | 10 |
6 | 0ms | 376kb | OK | 10 |
7 | 4ms | 468kb | OK | 10 |
8 | 148ms | 3732kb | OK | 10 |
9 | 436ms | 7312kb | Incorect | 0 |
10 | 444ms | 7316kb | OK | 10 |
Punctaj total | 90 |