mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 23:08:47 +00:00
16 lines
228 B
C++
16 lines
228 B
C++
#include <iostream>
|
|
#include <cmath>
|
|
|
|
using std::cin;
|
|
using std::cout;
|
|
const char endl = '\n';
|
|
|
|
double a, b;
|
|
|
|
int main() {
|
|
std::ios::sync_with_stdio(false);
|
|
cin >> a >> b;
|
|
cout << fmod(a, b) << endl;
|
|
return 0;
|
|
}
|