Skip to content

Instantly share code, notes, and snippets.

@Thiago4532
Created April 30, 2019 19:53
Show Gist options
  • Save Thiago4532/73fea33ed1e8c21ec7ff2d3d4c1f4683 to your computer and use it in GitHub Desktop.
Save Thiago4532/73fea33ed1e8c21ec7ff2d3d4c1f4683 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main() {
long long A, B;
cin >> A >> B;
cout << (A*B)%10 << "\n";
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment