Help!

Revision en1, by negativeDelta, 2023-04-30 00:34:24

In case of vector<int> a(2), if I try to access a[2], I get runtime error. But in case of vector<long long> a(2), if I try to access a[2], there is no runtime error.
Why?

Runtime error solution: 203977137
Accepted solution: 203978634

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English negativeDelta 2023-04-30 00:34:24 417 Initial revision (published)