
c语言
文章平均质量分 77
菜鸡n+1号
这个作者很懒,什么都没留下…
展开
-
B. Different Divisors
Codeforces Round #696 (Div. 2)_B. Different Divisors 题目连接:https://codeforces.com/contest/1474/problem/B 原题 input 2 1 2 output 6 15 翻译: 正整数x被称为正整数y的除数,如果y能被x整除而无余数。例如,1是7的除数,3不是8的除数。 我们给了你一个整数d让你找出最小的正整数a,这样a至少有4个因子; a的任意两个因数之差至少为d。 输入 第一行包含单个整数t(1≤t≤30原创 2021-02-06 23:27:22 · 260 阅读 · 0 评论 -
A. Puzzle From the Future
Codeforces Round #696 (Div. 2)_A. Puzzle From the Future 题目连接:https://codeforces.com/contest/1474/problem/A 原题: 下面展示一些 内联代码片。 input 5 1 0 3 011 3 110 6 111000 6 001011 下面展示一些 内联代码片。 output 1 110 100 101101 101110 翻译: 在2022年,Mike发现了两个长度为n的二进制整数a和b(它们都原创 2021-02-06 22:39:13 · 239 阅读 · 0 评论 -
2016 计蒜之道 初赛 第二场 联想公司的 logo 设计(计蒜客)
题目: 输入输出说明: 输入输出样例: #include <stdio.h> #include <math.h> #define PI 3.1415926535898 int main() { double l1, l2, a; while (scanf("%lf %lf %lf", &l1, &l2, &a)!=EOF) { double L = sqrt(l1*l1+ l2*l2 - 2*l1*l2*cos(转载 2020-12-18 20:10:01 · 193 阅读 · 1 评论