2

How to find the distance between two pointers?

 1 year ago
source link: http://codeforces.com/blog/entry/102854
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to find the distance between two pointers?

By IanAbusa, 17 hours ago,

I came across an issue when solving problem C in today's contest. I was trying to find the distance between two pointers (by subtracting) in a set to determine the number of elements between those two pointers. However, I got an error. Is there a way to find this distance?

Submission (under "if(t == 3)")


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK