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 1045. Funny Game

Practician std::vector<bool> crashes at 6th test! [4] // Problem 1045. Funny Game 26 Jan 2006 14:29
Due to memory requirements I used std::vector<bool> arrays for
storing node edges, but it chashes!
(function std::vector<bool>::operator[](int), to be exact)

Does anybody knows why?

P.S. If I use, f.e., std::bitset<> instead, I get strong AC.
Therefore, timus's std::vector<bool> has error, hasnt it?
I suppose you cool programer if you use STL... By the way,is  STL supported by timus C++ compiler?
Practician Re: std::vector<bool> crashes at 6th test! [2] // Problem 1045. Funny Game 27 Jan 2006 20:55
Are you funny? It is just convenient to use it instead of
doing some things yourself.

IMHO, timus must support STL as it is the part of C++
and it does.
Dmitry 'Diman_YES' Kovalioff STL is a kind of cheat imho (-) [1] // Problem 1045. Funny Game 27 Jan 2006 21:01
Vladimir Yakovlev (USU) Using STL is a good style but not a cheat! // Problem 1045. Funny Game 28 Jan 2006 16:30