摘要:
题目描述 A lattice point (x, y) in the first quadrant (x and y are integers greater than or equal to 0), other than the origin, is visible from the origin 阅读全文
摘要:
//十进制转成m进制#include #define ll long long #define ull unsigned long long #define ld long double #define maxn 20010 using namespace std; int n,m,l; char s[10000]; int main() { cin>>n>>m; while(... 阅读全文
摘要:
题目描述 The branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number theoreti 阅读全文
摘要:
来源:https://blog.csdn.net/lyy289065406/article/details/6648539 题目描述 Consider two natural numbers A and B. Let S be the sum of all natural divisors of A 阅读全文
摘要:
题目描述 In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two ad 阅读全文
摘要:
题目描述 We have a sandglass consisting of two bulbs, bulb A and bulb B. These bulbs contain some amount of sand. When we put the sandglass, either bulb A 阅读全文