Borderou de evaluare (job #1712805)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 3 iunie 2016 19:32:35
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:40: warning: unused variable ‘sizeLeft’ [-Wunused-variable] long long hashLeft1=0,hashRight1=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 (*)[800010]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:164:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[800010]’ [-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
196ms9788kbOK10
248ms4608kbOK10
3380msDepăşitMemory limit exceeded.0
4368msDepăşitMemory limit exceeded.0
5360msDepăşitMemory limit exceeded.0
6372msDepăşitMemory limit exceeded.0
7380msDepăşitMemory limit exceeded.0
8360msDepăşitMemory limit exceeded.0
9372msDepăşitMemory limit exceeded.0
10396msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?