fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. int v,t;
  5. cin >> v >> t;
  6. cout<< (abs(v) * t - 54 * t) % 100;
  7. }
  8.  
Success #stdin #stdout 0s 5316KB
stdin
-40
1
stdout
-14