分类:学习日志
P1320 压缩技术(续集版)
3月 26, 2022
P1320 压缩技术(续集版) – 洛谷 | 计算机科学教育新生态 (luogu.com.cn) 1234567891011121314151617181920212223242526272829303132333435363738394041424344#include<iostream> using namespace std; string a; int n; bool bOne=false; int sum=0;...
P1319 压缩技术
3月 26, 2022
P1319 压缩技术 – 洛谷 | 计算机科学教育新生态 (luogu.com.cn) 12345678910111213141516171819202122232425262728#include<iostream> using namespace std; int n; int sum=0; int a; int bOne=false; int main() { ...
P1789 【Mc生存】插火把
3月 24, 2022
Link text 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859#include<iostream> using namespace std; int n,m,k; int x,y; int...
P5732 【深基5.习7】杨辉三角
3月 23, 2022
题目描述 给出 n(n≤20),输出杨辉三角的前 n 行。 如果你不知道什么是杨辉三角,可以观察样例找找规律。 输入格式 无 输出格式 无 输入输出样例 输入 #1 6 输出 #1 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 12345678910111213141516171819202122232425262728293031#include<iostream> using...