fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int a=-2;
  7. cout<<1LL*(a%10);
  8. return 0;
  9. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
-2