ICode9

精准搜索请尝试: 精确搜索
  • 736-(智力题)两个圆环,半径分别是1和2,小圆在大圆内部绕大圆圆周一周2021-10-30 13:32:40

    题目如下 两个圆环,半径分别是1和2,小圆在大圆内部绕大圆圆周一周,问小圆自身转了几周?如果在大圆的外部,小圆自身转几周呢? 答案如下 都是2周。因为路程都是一样的。都是绕大圆一圈。大圆的周长是小圆周长的2倍。

  • Codeforces Round #736 (Div. 2) 部分题题解2021-08-02 12:04:56

    D.Integers Have Friends 题目链接 Integers Have Friends 简要题解 E.The Three Little Pigs 题目链接 The Three Little Pigs 简要题解 我们先来考虑一个询问的情况,看看最终答案是什么样子的。 题目说道,两个攻击方案不同,当且仅当攻击时刻不同,以及攻击对象不同。 那么我们很自然

  • Codeforces Round #736 (Div. 2)2021-08-02 11:02:57

    https://codeforces.com/contest/1549/problem/A A. Gregor and Cryptography 一道签到题。 题意:给你一个P,让你求出a,b使得P mod a=P mod b。 代码: #include<bits/stdc++.h> #define ll long long #define rep(a,b,c) for(int a=b;a<=c;a++) #define per(a,b,c) for(int a=b;a>=c

  • Codeforces Round #736 (Div. 2) A题题解2021-08-02 09:04:30

    2021-08-02 08:34:33 链接 https://codeforces.com/contest/1549/problem/A 题目内容                                     A. Gregor and Cryptography                         time limit per test1 second       

  • Codeforces Round #736 (Div. 2)2021-08-02 02:00:20

    A. Gregor and Cryptography 构造... #include <bits/stdc++.h> #define all(a) a.begin(),a.end() #define pb push_back using namespace std; using ll = long long ; void solve() { ll p; cin>>p; for(ll i=2;i*i<=p;i++){ if(p%i==0){

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有