Pagini recente » Borderou de evaluare (job #2095020) | Borderou de evaluare (job #2973976) | Borderou de evaluare (job #2932702) | Borderou de evaluare (job #530368) | Borderou de evaluare (job #1807051)
Borderou de evaluare (job #1807051)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:25: warning: unused variable ‘x’ [-Wunused-variable]
int t,a,b,n,k,y,poz,x,p;
^
user.cpp:10:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nucleulvaloros.in","r",stdin);
^
user.cpp:11:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nucleulvaloros.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:18:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n-k+1;i++) scanf("%d",&v1[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 348ms | 660kb | OK | 100 |
Punctaj total | 100 |