【周赛题解】三
摘要:A. Playing with Paper解法用辗转相除法,一边求出最大公约数,一边求出可分割的正方形的数量。#include#includeusing namespace std;typedef long long ll;ll ans=0;ll gcd(ll a,ll b){ if(b==0...
阅读全文
posted @ 2015-03-24 21:32
暑假正式开始努力啦~
posted @ 2015-03-24 21:32