#34984: python 一行解


1554101-0@g.puiching.edu.mo (P6A29_1300題了)


只用算術運算子,而不用 if 的解法:

 

print((int(input()) - 1) // 3 + 1)

#35232: Re: python 一行解


1450840-0@g.puiching.edu.mo (肥余好朋友)


只用算術運算子,而不用 if 的解法:

 

print((int(input()) - 1) // 3 + 1)

print((int(input())+2) // 3)