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 1495. One-two, One-two 2

What is Test#15?
Posted by xurshid_n 21 Oct 2006 15:43
Re: What is Test#15?
Posted by egardoz[Yaroslavl SU]🔥 13 Oct 2019 20:26
I had WA on the 15 test. I saved my answer in a string and i found what i was searching for minimum answer in wrong way, right code for taking minimum from 2 numbers, what are written in strings looks like :
if (mn.size() > an.size())
   mn = an;

if(mn.size()==an.size())
  if (mn > an)
    mn = an;