#include<iostream>#include<iomanip>using namespace std;int main(){ long long n ,m , k;cin >>n>>m;k= (m % 10)+(n % 10);cout<<k<<endl;}
Standard input is empty
6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!