mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-26 18:32:01 +00:00
16 lines
228 B
C++
16 lines
228 B
C++
|
#include <cmath>
|
||
|
#include <iostream>
|
||
|
|
||
|
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;
|
||
|
}
|