python-algorithm

[백준] 2475

무적김두칠 2020. 12. 14. 13:21

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

 

반응형