Toggle navigation
YouTube
Facebook
Telegram
english
english
українська
Algotester 4.3
Build 496
2024-10-17
Log In
Contact Us
College
Sponsors
Donate
Sources
Python 3
n, w = map(int, input().split()) for i in range(n): s = list(map(int, input().split())) for j in range(s[0]): w += s[j + 1] print(w)