Borderou de evaluare (job #1819957)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 30 noiembrie 2016 23:59:14
Problema Diez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘TreapNode* Update(TreapNode*)’: user.cpp:30:65: warning: unused variable ‘sizeLeft’ [-Wunused-variable] long long hashLeft1=0,hashLeft2=0,hashRight1=0,hashRight2=0,sizeLeft=0,sizeRight=0; ^ user.cpp: In function ‘TreapNode* Join(TreapNode*, TreapNode*)’: user.cpp:87:16: warning: unused variable ‘answer’ [-Wunused-variable] TreapNode *answer; ^ user.cpp: In function ‘int main()’: user.cpp:150:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[250010]’ [-Wformat=] scanf("%d%d\n%s",&n,&q,&s); ^ user.cpp:145:15: warning: unused variable ‘j’ [-Wunused-variable] int n,q,i,j,words,type,last=0,position,a,b,index; ^ user.cpp:145:17: warning: unused variable ‘words’ [-Wunused-variable] int n,q,i,j,words,type,last=0,position,a,b,index; ^ user.cpp:145:28: warning: unused variable ‘last’ [-Wunused-variable] int n,q,i,j,words,type,last=0,position,a,b,index; ^ user.cpp:145:44: warning: unused variable ‘a’ [-Wunused-variable] int n,q,i,j,words,type,last=0,position,a,b,index; ^ user.cpp:145:46: warning: unused variable ‘b’ [-Wunused-variable] int n,q,i,j,words,type,last=0,position,a,b,index; ^ user.cpp:145:48: warning: unused variable ‘index’ [-Wunused-variable] int n,q,i,j,words,type,last=0,position,a,b,index; ^ user.cpp:147:15: warning: unused variable ‘hash1’ [-Wunused-variable] long long hash1,hash2,s1=0,s2=0; ^ user.cpp:147:21: warning: unused variable ‘hash2’ [-Wunused-variable] long long hash1,hash2,s1=0,s2=0; ^ user.cpp:143:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diez.in","r",stdin); ^ user.cpp:144:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diez.out","w",stdout); ^ user.cpp:150:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n%s",&n,&q,&s); ^ user.cpp:165:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&type); ^ user.cpp:167:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c",&position,&ch);
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms6136kbOK4
224ms6164kbOK4
356ms6488kbOK4
41400ms7696kbOK4
5Depăşit10904kbTime limit exceeded.0
62792ms14928kbOK4
71300ms13692kbOK4
81808ms19860kbOK4
9Depăşit11736kbTime limit exceeded.0
10Depăşit14072kbTime limit exceeded.0
11Depăşit11328kbTime limit exceeded.0
122376ms15020kbOK4
13Depăşit11832kbTime limit exceeded.0
14Depăşit10756kbTime limit exceeded.0
152088ms15348kbOK4
16Depăşit11860kbTime limit exceeded.0
17Depăşit18028kbTime limit exceeded.0
182096ms25868kbOK4
191876ms24124kbKilled by signal 11(SIGSEGV).0
202456ms25592kbIncorect0
21Depăşit22560kbTime limit exceeded.0
22Depăşit21684kbTime limit exceeded.0
23Depăşit10500kbTime limit exceeded.0
24Depăşit12188kbTime limit exceeded.0
25Depăşit17456kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?