問題はこちら 3完 A, B, C ##################### A N, M = list(map(int, input().split())) H = list(map(int, input().split())) counter = 0 for hand in H: M -= hand if M>=0: counter+=1 print(counter) ##################### B S = input() def cou…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。