ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1628. White Streaks

What a strange thing!!!
Posted by Genesis 19 Oct 2008 23:43
In my code, I declared two vector like this

vector<int> row[maxn], col[maxn]; and got TLE

but if I declared them like this

vector<int> col[maxn], row[maxn] and got AC in 0.671s

anyone can explain this?

Edited by author 19.10.2008 23:43