Borderou de evaluare (job #2625495)

Utilizator AndreiStanescuAlloys Nokito AndreiStanescu Data 5 iunie 2020 23:54:44
Problema Take 5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void add_to_list(const int&)': main.cpp:24:10: warning: variable 'r' set but not used [-Wunused-but-set-variable] nod* r=p; ^ main.cpp: In function 'void add_to_hash(const int&)': main.cpp:60:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<h[bucket].size();++i) ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int hash_search(const int&)': main.cpp:75:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<h[bucket].size();++i) ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void read()': main.cpp:83:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("take5.in", "r", stdin); ^ main.cpp:84:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &sum); ^ main.cpp:86:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp:145:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("take5.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
118ms9175kbOK5
221ms9666kbMemory limit exceeded0
321ms9666kbMemory limit exceeded0
421ms9666kbMemory limit exceeded0
521ms9666kbMemory limit exceeded0
621ms9666kbMemory limit exceeded0
745ms9175kbOK5
821ms9666kbMemory limit exceeded0
921ms9666kbMemory limit exceeded0
1025ms9666kbMemory limit exceeded0
1125ms9666kbMemory limit exceeded0
1230ms9666kbMemory limit exceeded0
1331ms9666kbMemory limit exceeded0
1433ms9662kbMemory limit exceeded0
1535ms9666kbMemory limit exceeded0
1635ms9666kbMemory limit exceeded0
1744ms9666kbMemory limit exceeded0
1841ms9662kbMemory limit exceeded0
1945ms9666kbMemory limit exceeded0
2035ms9666kbMemory limit exceeded0
Punctaj total10

Ceva nu functioneaza?