Borderou de evaluare (job #1712799)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 3 iunie 2016 19:01:46
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:81:16: warning: unused variable ‘answer’ [-Wunused-variable] TreapNode *answer; ^ user.cpp: In function ‘int main()’: user.cpp:149:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[800010]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:165:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[800010]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:142: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:143: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:149:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^ user.cpp:163:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&words); ^ user.cpp:165:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^ user.cpp:175:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:177:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&type); ^ user.cpp:179: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:187: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
1148ms19168kbOK10
284ms12640kbOK10
3404msDepăşitMemory limit exceeded.0
4372msDepăşitMemory limit exceeded.0
5352msDepăşitMemory limit exceeded.0
6376msDepăşitMemory limit exceeded.0
7392msDepăşitMemory limit exceeded.0
8372msDepăşitMemory limit exceeded.0
9392msDepăşitMemory limit exceeded.0
10420msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?