Runtime error on test 2 (1266A)

Правка en3, от genijalac, 2020-01-06 17:42:15

[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...

Теги #beginner, mysterious runtime error

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский genijalac 2020-01-06 17:42:15 86
en2 Английский genijalac 2020-01-06 17:40:30 1242
en1 Английский genijalac 2020-01-06 17:38:43 1556 Initial revision (published)