Code Monkey home page Code Monkey logo

ren-yc.github.io's Introduction

ren-yc.github.io's People

Contributors

ren-yc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

orlicz

ren-yc.github.io's Issues

『题解』Luogu - U198094 前 n 个偶数位回文数之和 - Yuchen Ren's Personal Blog

https://ren-yc.github.io/2022/01/16/u198094-solution/

此题为私有题目 题目信息 题目描述 给定一个正整数 $n$,输出前 $n$ 个偶回文数之和。 偶回文数: 有偶数个数位的回文数,如:$11, 22$。 输入格式 一行一个正整数 $n$。 输出格式 一行一个正整数,表示前 $n$ 个偶回文数之和。 输入输出样例 输入 #1 3 输出 #1 66 提示说明 对于 $100%$ 的数据: $1$ $\le$ $n$ $\le$ $100$

『题解』Luogu - UVA10193 All You Need Is Love - Yuchen Ren's Personal Blog

https://ren-yc.github.io/2022/05/17/uva10193-solution/

题目链接 洛谷 UVa Online Judge 题目翻译 共有 $N$ 组数据,给定两个二进制数(字符串),判断将它们分别转化为十进制数后是否互质。 题目思路 我们按照题意模拟即可。 求最大公约数可以使用 C++ 标准库头文件中的 __gcd() 或使用自己手写的函数。 辗转相除法求最大公约数模板: int gcd(int a, int b) { return b == 0 ? a

『题解』Luogu - U187148 gcd 与 lcm - Yuchen Ren's Personal Blog

https://ren-yc.github.io/2021/07/23/u187148-solution/

此题为私有题目 题目信息题目描述小 T 想编一个程序,可是又想不出来怎么编,请聪明的你来帮帮他。 这个程序可以用来计算两个数的最大公约数或最小公倍数。 输入格式第 $1$ 行输入一个正整数 $T$; 第 $2$$T + 1$ 行输入字符串 gcd 或 lcm,以及两个正整数 $a$$b$。 输出格式输出 $T$ 行结果。 输入输出样例输入 #1 2 gcd 1 1 lcm 10 15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.