Please read the new rule regarding the restriction on the use of AI tools. ×

SHASTRI's blog

By SHASTRI, history, 4 years ago, In English

https://codeforces.me/contest/1478/problem/C -problem link I am getting error as "uninitialized value usage" in this line — s.insert(a[i]);

https://codeforces.me/contest/1478/submission/105983233 -Link to my solution

Can anyone help me to fix this issue Thanks in advance!!

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

long long a[m] instead of int a[m]