Borderou de evaluare (job #1441615)

Utilizator fantastik3UVS shobeLuluFiarie fantastik3 Data 24 mai 2015 11:35:44
Problema Nucleul Valoros Status done
Runda ONIS 2015, Runda Finala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void f()’: user.cpp:4:16: warning: variable ‘max’ set but not used [-Wunused-but-set-variable] {int n,k,i,max,tt,x,s,q,j; ^ user.cpp:4:23: warning: unused variable ‘x’ [-Wunused-variable] {int n,k,i,max,tt,x,s,q,j; ^ user.cpp:4:25: warning: unused variable ‘s’ [-Wunused-variable] {int n,k,i,max,tt,x,s,q,j; ^ user.cpp:4:27: warning: unused variable ‘q’ [-Wunused-variable] {int n,k,i,max,tt,x,s,q,j; ^ user.cpp:5:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:6:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v2[1]); ^ user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v2[j]); ^ user.cpp: In function ‘int main()’: user.cpp:41:41: 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:42:42: 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:44:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1144ms588kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?