Pagini recente » Borderou de evaluare (job #325312) | Borderou de evaluare (job #2690788) | Borderou de evaluare (job #2129663) | Borderou de evaluare (job #408697) | Borderou de evaluare (job #1713155)
Borderou de evaluare (job #1713155)
Raport evaluator
Compilare:
user.cpp: In function ‘bool cmp(abc, abc)’:
user.cpp:21:12: warning: statement has no effect [-Wunused-value]
A.rest < B.rest;
^
user.cpp: In function ‘int main()’:
user.cpp:28:9: warning: unused variable ‘f’ [-Wunused-variable]
int f,mid,st,dr,i,j,ii,A,B,n,k,t;
^
user.cpp:28:11: warning: unused variable ‘mid’ [-Wunused-variable]
int f,mid,st,dr,i,j,ii,A,B,n,k,t;
^
user.cpp:28:15: warning: unused variable ‘st’ [-Wunused-variable]
int f,mid,st,dr,i,j,ii,A,B,n,k,t;
^
user.cpp:28:18: warning: unused variable ‘dr’ [-Wunused-variable]
int f,mid,st,dr,i,j,ii,A,B,n,k,t;
^
user.cpp:28:23: warning: unused variable ‘j’ [-Wunused-variable]
int f,mid,st,dr,i,j,ii,A,B,n,k,t;
^
user.cpp:28:25: warning: unused variable ‘ii’ [-Wunused-variable]
int f,mid,st,dr,i,j,ii,A,B,n,k,t;
^
user.cpp:28:36: warning: unused variable ‘t’ [-Wunused-variable]
int f,mid,st,dr,i,j,ii,A,B,n,k,t;
^
user.cpp:29:15: warning: unused variable ‘ans’ [-Wunused-variable]
long long ans=0;
^
user.cpp: In function ‘bool cmp(abc, abc)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in","r",stdin);
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out","w",stdout);
^
user.cpp:31:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&k,&A,&B);
^
user.cpp:33:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 304kb | Incorect | 0 |
3 | 4ms | 592kb | Incorect | 0 |
4 | 16ms | 1436kb | Incorect | 0 |
5 | 32ms | 2600kb | Incorect | 0 |
6 | 52ms | 4952kb | Incorect | 0 |
7 | 60ms | 4948kb | Incorect | 0 |
8 | 84ms | 6120kb | Incorect | 0 |
9 | 132ms | 9632kb | Incorect | 0 |
10 | 164ms | 11968kb | Incorect | 0 |
Punctaj total | 0 |