Pagini recente » Borderou de evaluare (job #2045413) | Borderou de evaluare (job #393631) | Cod sursa (job #3131205) | Borderou de evaluare (job #726083) | Borderou de evaluare (job #1755371)
Borderou de evaluare (job #1755371)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:13: warning: unused variable ‘st’ [-Wunused-variable]
int i,j,st,dr,mid,sf1=-1,sf2=-1,inc1=0,inc2=0;
^
user.cpp:29:16: warning: unused variable ‘dr’ [-Wunused-variable]
int i,j,st,dr,mid,sf1=-1,sf2=-1,inc1=0,inc2=0;
^
user.cpp:29:19: warning: unused variable ‘mid’ [-Wunused-variable]
int i,j,st,dr,mid,sf1=-1,sf2=-1,inc1=0,inc2=0;
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:18:55: 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:21:55: 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:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvdist.in","r",stdin);
^
user.cpp:27:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvdist.out","w",stdout);
^
user.cpp:31:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 |
5 | 8ms | 868kb | OK | 10 |
6 | 20ms | 1572kb | OK | 10 |
7 | 84ms | 4828kb | OK | 10 |
8 | 92ms | 5332kb | OK | 10 |
9 | 120ms | 5596kb | OK | 10 |
10 | 104ms | 5676kb | OK | 10 |
Punctaj total | 100 |