
CSP
北 音
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
抛硬币吃苹果的概率问题
问题:两个人抛硬币,规定第一个抛出正面的人可以吃到苹果,请问先抛的人吃到苹果的概率是多大( )?A. 1/2 B.2/3 C. 3/4 D.5/8在#include<cstdio> #include <cctype>#include<ctime>#include <algorithm>#include<iostream>...原创 2019-10-18 11:16:49 · 1550 阅读 · 0 评论 -
n柱汉诺塔
#include<cstdio>#include<algorithm>using namespace std;typedef long long int64;const int INF = 0x3F3F3F3F;const int N = 65;int n,m;int64 dp[N][N];int main() { scanf("%d%d",&a...原创 2019-10-18 07:09:30 · 236 阅读 · 0 评论 -
TWINSNOW - Snowflakes 哈希
题目描述English Tiếng Việt You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read information about a collec...原创 2019-10-13 17:22:37 · 314 阅读 · 1 评论