Pagini recente » Borderou de evaluare (job #1130325) | Borderou de evaluare (job #1543554) | Borderou de evaluare (job #2033763) | Borderou de evaluare (job #3185254) | Borderou de evaluare (job #1929656)
Borderou de evaluare (job #1929656)
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:108: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:109: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 | 376kb | OK | 10 |
3 | 4ms | 512kb | OK | 10 |
4 | 68ms | 2444kb | OK | 10 |
5 | 272ms | 7312kb | OK | 10 |
6 | 0ms | 376kb | OK | 10 |
7 | 4ms | 464kb | OK | 10 |
8 | 148ms | 3736kb | OK | 10 |
9 | 440ms | 7308kb | Incorect | 0 |
10 | 440ms | 7308kb | OK | 10 |
Punctaj total | 90 |