МКАД
unknown
c_cpp
a month ago
202 B
3
Indexable
Never
#include <iostream> using namespace std; int main() { int v, t; cin >> v >> t; int s = v * t; cout << (s % 109 + 109) % 109; return 0; } /* a b (a % b + b) % b */
#include <iostream> using namespace std; int main() { int v, t; cin >> v >> t; int s = v * t; cout << (s % 109 + 109) % 109; return 0; } /* a b (a % b + b) % b */