Borderou de evaluare (job #1820098)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 1 decembrie 2016 11:12:29
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 (*)[500010]’ [-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
124ms8100kbOK4
228ms8124kbOK4
364ms8452kbOK4
41388ms9664kbOK4
5Depăşit12880kbTime limit exceeded.0
62780ms16888kbOK4
71296ms15660kbOK4
81616ms21824kbOK4
9Depăşit13884kbTime limit exceeded.0
10Depăşit16004kbTime limit exceeded.0
11Depăşit13632kbTime limit exceeded.0
122348ms16984kbOK4
13Depăşit13756kbTime limit exceeded.0
14Depăşit12808kbTime limit exceeded.0
152016ms17312kbOK4
16Depăşit13896kbTime limit exceeded.0
17Depăşit19972kbTime limit exceeded.0
182060ms27832kbOK4
192276ms27800kbIncorect0
202456ms27560kbIncorect0
21Depăşit24556kbTime limit exceeded.0
22Depăşit23468kbTime limit exceeded.0
23Depăşit12372kbTime limit exceeded.0
24Depăşit14092kbTime limit exceeded.0
25Depăşit19536kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?