Created
May 1, 2019 17:31
-
-
Save Thiago4532/f1caf38422cc7df19b9b6a5e3e7d2d31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
long long A, B; | |
cin >> A >> B; | |
long long C = (A%10); | |
long long D = (B%10); | |
cout << (C*D)%10 << "\n"; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment