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

Common Board

Strange compilation error
Posted by Zlatko Radojcic 16 May 2008 06:16
Hi all
I would be very gratefull if someone could clarify me how to solve this compilation error:

d996e7cc-46a9-40b3-9e95-0df28c461d76(31): error: expected a ">"
 template<class ElemType, class Comparator = _lessThenComp<ElemType>>

i compile same file vith MSVC++2008 with no errors or warrnings but when i upload it i get this compilation err(followed by lot more lines, but i think this is source of all others)

Thank You in advance
Re: Strange compilation error
Posted by Chmel_Tolstiy 16 May 2008 17:16
I'm not sure.
but may be u use something like
map<int,vector<int>> m;
but u should to write
map<int,vector<int> > m; (one more space)