_becky
_becky
全部文章
题解
归档
标签
去牛客网
登录
/
注册
_becky的博客
加油~
全部文章
/ 题解
(共75篇)
题解 | #人民币转换#
来自专栏
#include <iostream> using namespace std; string gewei[10] = {"零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"}; string other[] = {"", "拾", "佰", ...
C++
2022-03-23
0
360
题解 | #数据分类处理#
来自专栏
#include<bits/stdc++.h> using namespace std; int main() { int I,R; while(cin>>I) { vector<string> vi; st...
C++
2022-03-23
1
371
题解 | #素数伴侣#
来自专栏
#include<iostream> #include<vector> using namespace std; bool isprime(int num) { for(int i = 2; i * i <= num; i++) if(num %...
C++
2022-03-22
1
457
题解 | #Sudoku#
来自专栏
#include <bits/stdc++.h> using namespace std; const int N = 15; int mp[N][N]; bool find_answer_ok; bool check(int row, int col, int val) { f...
C++
2022-03-22
0
319
题解 | #自动售货系统#
来自专栏
#include <bits/stdc++.h> using namespace std; vector<int> a(10), cost = {0, 2, 3, 4, 5, 8, 6}, m(11), y = {1, 2, 5, 10}; // 分别是商品, 花费, 钱盒,...
C++
2022-03-22
2
409
题解 | #记负均正II#
来自专栏
#include <iostream> #include<iomanip> using namespace std; int main() { int num, count1 = 0, count2 = 0; float sum = 0.0, mean = 0...
C++
2022-03-22
0
279
题解 | #24点运算#
来自专栏
#include<bits/stdc++.h> using namespace std; map<string, int> c2n = {{"A", 1}, {"2", 2}, {"3", 3}, {"4", 4}, {"5", 5}, {"6", 6},{"7", 7}, ...
C++
2022-03-22
0
339
题解 | #扑克牌大小#
来自专栏
#include<bits/stdc++.h> using namespace std; map<string,int> m={{"3",3},{"4",4},{"5",5},{"6",6},{"7",7},{"8",8},{"9",9},{"10",10}, ...
C++
2022-03-22
0
322
题解 | #成绩排序#
来自专栏
#include<bits/stdc++.h> using namespace std; int main() { int n,flag; while(cin>>n>>flag) { vector<pair<st...
C++
2022-03-21
0
254
题解 | #学英语#
来自专栏
#include<bits/stdc++.h> using namespace std; string ones[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };...
C++
2022-03-21
14
738
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页