Блог пользователя genijalac

Автор genijalac, история, 4 года назад, По-английски

[submission:68319830]Hi, I am attempting to solve 1266A (Competitive Programmer), but I get a runtime error on test 2. The idea of the code is to check whether the number is divisible by 3, 4 and 5. This would mean it is divisible by 60(since 3, 4 and 5 are relatively prime). Can someone tell me what is wrong with my code? Your text to link here...

  • Проголосовать: нравится
  • +11
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится -12 Проголосовать: не нравится

Come on, and you`r still asking why are you guys disliking it?

»
4 года назад, # |
  Проголосовать: нравится +11 Проголосовать: не нравится

Your runtime is for use stoi in your code to change string into integer that for string with size more than 20 you get runtime error.