跳到正文

Dream_True

1686238

路漫漫其修远兮,吾将上下而求索!

在洛谷打开
资料、奖项与版本

资料

编号
1686238
抓取

2026.7.12 洛谷入门赛 !!!

补办身份证 + 注册noi

P13585 P11254 课程

Smile Every Day,tomorrow everything will be fine. :)
记住每天保持微笑,明天会更好。:)

时光荏苒,朋友的联系也会散去。而我们和一个人保持连接的方式就是记住,仅此而已。 --------B4013 [语言月赛 202407] significance

打表过样例,暴力出奇迹,搜索真牛逼,骗分进省一|深搜 MLE,广搜 TLE,打表 RE,退火又 CE|删掉 display 看主页|或许可以问我壶不壶关,被封取关(解后私信)|初二蒟蒻 |代词请用“他”|没多大实力|冲刺csp-j|

P3758 P1349 P4159 P2455 高斯消元

学习问卷调查

比赛

学习问卷调查(2班)

(背景图)名字:GuoMingXuants1

15803138221liuhongrui

DEV-C++

CSP蒙题技巧

FFT

云斗学院

用户名:liuhongrui 密码123qwe

排列组合知识点

oiwiki

CSP-J初赛知识点

CSP-S初赛知识点

十大排序

C++
#include <bits/stdc++.h>
using namespace std;
int main()
{
	freopen(".in","r",stdin);
	freopen(".out","w",stdout);
	ios::sync_with_stdio(0);
	cin.tie(0);cout.tie(0);
	return 0;
}
C++
#include <bits/stdc++.h>
using namespace std;
//找最大公约数  板子
//函数板子: __gcd(变量,变量) 
int main()
{
    int a,b;
    cin >> a >> b;
    cout << __gcd(a,b);
    return 0;
}
C++
#include <iostream>
#define int long long 
//将所有的int都变成long long 
using namespace std;
signed main()
{
	ios::sync_with_stdio(0);
	cin.tie(0);cout.tie(0);
	//减少时间复杂度 
	return 0;
} 

去重代码:

C++
#include <bits/stdc++.h>
#define int long long 
using namespace std;
int n;
//P11228 
signed main()
{
	set <string> S;
	//set(去重)集合 
	//<(这里面是变量类型)>
	int n;
	cin >> n;
	for(int i=1;i<=n;i++)
	{
		string s;
		cin >> s;
		S.insert(s);
		//insert是放入/存入这个牌,同时去重 
	}
	cout << 52-S.size();
	return 0;
}

一些开头试:

C++
#include <iostream>//支持cin cout 
#include <cmath>//支持floor ceil 
#include <string.h>//支持 memset
#include <algorithm>//支持sort count set find
#include <stdio.h>//支持 scanf ptintf 
#include <bits/stdc++.h>//万能 
using namespace std;
int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0);cout.tie(0);
	return 0;
 } 
C++
#include <bits/stdc++.h>
#define int long long 
using namespace std;
int n,m;
string a,b;
signed main()
{
	cin.tie(nullptr)->ios::sync_with_stdio(false);
	cout.tie(nullptr)->ios::sync_with_stdio(false);
	//两个都可以减少时间复杂度
	//区别 :上面的会报错(我也不知道为啥)
//	下面的没事 
	ios::sync_with_stdio(0);
	cin.tie(0);cout.tie(0);
	return 0;
}
Java
位运算:

a >> b -> a / (2^b)
a << b -> a * (2^b) 
a & a = 

成长史:

注册时间:2025-03-01

第一次发题解:2025-09-17 11:06 【P13277】-------未过((╥﹏╥))

第一次参加csp考试:2025-9-20 csp-j初赛 成绩:55.5分 分数线:43.5分

共 2 篇
  1. 题解

    题解:P15223 [SWERC 2017] Shattered Cake

    [P15223 [SWERC 2017] Shattered Cake](https://www.luogu.com.cn/problem/P15223)题解 题意: 有一个矩形蛋糕被分成了 N 个碎片,每个碎片的宽度为 w_i,长度为 l_i,其中 1 ≤ i ≤ N。顾客订购…