A. Madoka and Math Dad
tags: implementation math
solution:
code:
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int read(){
int x=0,f=1;
char c=getchar();
while(c>'9'||c<'0'){if(c=='-')f=-1;c=getchar();}
while('0'<=c&&c<=