Borderou de evaluare (job #1712807)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 3 iunie 2016 19:40:48
Problema Sir8 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

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:85:16: warning: unused variable ‘answer’ [-Wunused-variable] TreapNode *answer; ^ user.cpp: In function ‘int main()’: user.cpp:148:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[60010]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:164:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[60010]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:141:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir8.in","r",stdin); ^ user.cpp:142:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir8.out","w",stdout); ^ user.cpp:148:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^ user.cpp:162:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&words); ^ user.cpp:164:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^ user.cpp:174:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:176:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&type); ^ user.cpp:178:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c%d%d",&position,&ch,&a,&b); ^ user.cpp:186:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&position,&index,&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1144ms14036kbOK10
276ms6776kbOK10
3468msDepăşitMemory limit exceeded.0
4432msDepăşitMemory limit exceeded.0
5420msDepăşitMemory limit exceeded.0
6440msDepăşitMemory limit exceeded.0
7452msDepăşitMemory limit exceeded.0
8424msDepăşitMemory limit exceeded.0
9444msDepăşitMemory limit exceeded.0
10480msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?