爱喝零度可乐
爱喝零度可乐
全部文章
分类
归档
标签
去牛客网
登录
/
注册
爱喝零度可乐的博客
全部文章
(共85篇)
题解 | #Sum of Factorials#
#include<cstdio> int main() { int n; int arr[10]; arr[0] = 1; for (int i = 1 ; i <= 10 ; ++i) { arr[i] = arr[i - 1] ...
2023-03-20
0
329
题解 | #WERTYU#
#include<cstdio> #include<map> #include<string> using namespace std; int main() { map<char, char> myMap = { {'W', ...
2023-03-19
0
295
题解 | #String Matching#
#include<cstdio> #include<string> #include<iostream> using namespace std; int main(){ string S1 ; string S2 ; cin >>...
2023-03-19
0
289
题解 | #简单密码#
#include "cstdio" #include "strings.h" #include "string" #include "string.h" using namespace std; int main() { char buf[201]; while (scanf("...
2023-03-19
0
290
题解 | #加减乘除#
#include<cstdio> int fun(int n){ if(n ==1){ return 1; }else{ return n*fun(n-1); } } int main(){ int a,b; ch...
2023-03-19
0
310
题解 | #数字求和#
#include<cstdio> int main(){ int a,b,c,d,e,f; while(scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f) != EOF){ int sum = 0; if(b&l...
2023-03-19
0
221
题解 | #Number Steps#
#include<cstdio> int main() { int x, y; scanf("%d%d", &x, &y); if ((x + y) % 2 == 0 && ((x - y) == 2 || (x - y) == ...
2023-03-19
0
307
题解 | #字符串排序#
#include<cstdio> #include<algorithm> #include<string> using namespace std; bool comp(char lhs, char rhs) { if (lhs < rhs) { ...
2023-03-18
0
283
题解 | #最大上升子序列和#
#include<iostream> #include<cstdio> using namespace std; int a[1010]; int dp[1010]; int main() { int n; int answer; scanf("%d"...
2023-03-18
0
223
题解 | #学分绩点#
#include<cstdio> struct crouse{ int grade; int score; float GPA; }; int main(){ int n ; int allgra = 0; float allgpa =0;...
2023-03-18
0
329
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页