随笔分类 - 菜鸡刷题笔记-数学
摘要:链接: https://vjudge.net/problem/LightOJ 1095 题意: Consider this sequence {1, 2, 3 ... N}, as an initial sequence of first N natural numbers. You can rea
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1067 题意: Given n different objects, you want to take k of them. How many ways to can do it? For example, say th
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1058 题意: There are n distinct points in the plane, given by their integer coordinates. Find the number of paral
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1005 题意: A rook is a piece used in the game of chess which is played on a board of square grids. A rook can onl
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1236 题意: Find the result of the following code: long long pairsFormLCM( int n ) { long long res = 0; for( int i
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1245 题意: I was trying to solve problem '1234 Harmonic Number', I wrote the following code long long H( int n )
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1259 题意: Goldbach's conjecture is one of the oldest unsolved problems in number theory and in all of mathematic
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1282 题意: You are given two integers: n and k, your task is to find the most significant three digits, and least
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1336 题意: Sigma function is an interesting function in Number Theory. It is denoted by the Greek letter Sigma (σ
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1370 题意: Bamboo Pole vault is a massively popular sport in Xzhiland. And Master Phi shoe is a very popular coac
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1369 题意: The problem you need to solve here is pretty simple. You are give a function f(A, n), where A is an ar
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1354 题意: An IP address is a 32 bit address formatted in the following way a.b.c.d where a, b, c, d are integers
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1349 题意: Finally Aladdin reached home, with the great magical lamp. He was happier than ever. As he was a nice
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1323 题意: You are given a rectangular billiard board, L and W be the length and width of the board respectively.
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1311 题意: A bird was flying on a train line, singing and passing lazy times. After a while it saw a train coming
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1297 题意: In the following figure you can see a rectangular card. The width of the card is W and length of the c
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1294 题意: Given two integers: n and m and n is divisible by 2m, you have to write down the first n natural numbe
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1275 题意: A group of N Internet Service Provider companies (ISPs) use a private communication channel that has a
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1214 题意: Given two integers, a and b, you should check whether a is divisible by b or not. We know that an inte
阅读全文
摘要:链接: https://vjudge.net/problem/LightOJ 1179 题意: The historian Flavius Josephus relates how, in the Romano Jewish conflict of 67 A.D., the Romans took
阅读全文