본문 바로가기
python-algorithm

[백준] 2475

by 무적김두칠 2020. 12. 14.

1
2
3
a,b,c,d,e=map(int, input().split())
print( (a*a+b*b+c*c+d*d+e*e)%10)
cs

 

반응형

'python-algorithm' 카테고리의 다른 글

[백준] 2558  (0) 2020.12.14
[백준] 2557  (0) 2020.12.14
[백준] 2338  (0) 2020.12.14
[백준] 1550  (0) 2020.12.14
[백준] 1271  (0) 2020.12.14

댓글