当前位置: 移动技术网 >

水题

  (共找到 5 条与 水题 相关的信息)

HDU - 4802 - GPA (水题

2018-09-26 14:21 | 评论:0 次 | 浏览: 0

题意: 计算GPA,输入一个数字和一个字符串,用 思路: 用map对应数值,要注意的是字符串为P或者N的时候,不计入结果 代码: ...

UVA227-Puzzle

2018-10-25 13:19 | 评论:0 次 | 浏览: 0

2018-10-25-11:45:44 原题链接 水题,卡输入输出,不然怎么能说是ACM World Finals呢。 本题大意 大体意思就是给你一个5*5的棋盘,每次你需要先输入棋盘,然后输入一连串指令,指令已‘0’结尾,当棋盘第0行第0列为'Z'时表示游戏结束。 本题思路 拿到题的第一反应就是输 ...

Codeforces 939A题,B题(水题

2019-11-13 15:43 | 评论:0 次 | 浏览: 0

题目链接:http://codeforces.com/problemset/problem/939/A A题 A. Love Triangle time limit per test 1 second memory limit per test 256 megabytes input standar ...

数据结构算法(统计给定乘法口诀矩阵中的因子)

2020-08-05 17:18 | 评论:0 次 | 浏览: 0

原题链接:https://codeforces.com/problemset/problem/577/A题意;统计在给定乘法口诀矩阵中的因子。解题思路:遍历1到n,对另一个因子的范围进行判断统计即可。AC代码:/**邮箱:2825841950@qq.com*blog:https://blog.csdn.net/hzf0701*注:代码如有问题请私信我或在评论区留言,谢谢支持。*/#include<iostream>#include<cstdio>#include

Codeforces Round #662 (Div. 2) A - Rainbow Dash, Fluttershy and Chess Coloring

2020-08-10 14:00 | 评论:0 次 | 浏览: 0

题目链接思路:水题,输出n/2+1即可。代码:#include<bits/stdc++.h>//#define int long long#define IOS ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);const int N=2e5+7;const int M=2e4+5;const double eps=1e-8;const int mod=998244353;const int inf=0x7fffffff;

移动技术网