for using hashing vector is better than map while accessing the hashing data in a nested loop?

Правка en2, от udoy07, 2023-07-19 11:15:28

In this problem i found this issue for map time complexity is higher than vector,

problem link:https://mirror.codeforces.com/contest/1352/problem/E

sol link with vctor :https://mirror.codeforces.com/contest/1352/submission/214450956

sol link with map :https://mirror.codeforces.com/contest/1352/submission/214450292

your valuable opinion will surely help others who's are like me. and if does not make any sense than please comment section is available, i will delete it.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский udoy07 2023-07-19 11:16:11 81
en2 Английский udoy07 2023-07-19 11:15:28 91
en1 Английский udoy07 2023-07-19 11:14:09 465 Initial revision (published)