这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; typedef long long ll; ll res; int main() { ll n,k; cin>>n>>k; string maxValue(n,'6'); string minValue(n,'1'); ll mmin=atoi(…
```cpp #include #include using namespace std; vector > vec(100,vector (1 )); int main(){ int m,n; std::cin>>m>>n; while (m--) { //int a[1111]={0}; //vector > ve…
```cpp #include #include #include using namespace std; typedef long long ll; ll n, m, x, y; int ww[405][405]; int dx[] = { 1,1,2,2,-1,-1,-2,-2 }; int dy[] = {2,…
在讨论《40分 TLE求助》回复:
@[Bbaka](/user/138440) 非常感谢!
```cpp // RepairHighway.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include #include using namespace std; int getfather(int a, int b); /* 排序加找爹 */ int N, M; int Ge…
在讨论《蒟蒻 20分求大神帮助呀QAQ》回复:
```cpp #include using namespace std; int N,M; int m=0; struct MEAN{ int x; int y; int z; }mean[1111]; bool cmp(MEAN x,MEAN y){ return x.z >N>>M; for(int i=1;i >…
代码已经尽量往简单方向写了 20分有点莽```cpp #include using namespace std; int N,M; int m=0; struct MEAN{ int x; int y; int z; }mean[1111]; bool cmp(MEAN x,MEAN y){ return x.z >N…
在文章《题解 P1164 【小A点菜】》发表评论:
@sslzgrh 为什么是之和,个人认为应该是乘积啊
在文章《题解 P1164 【小A点菜】》发表评论:
吃掉这道菜有很多种方法,不吃也有很多种方法
在讨论《蒟蒻求教90分??P1060 开心的金明 》回复:
@[AC黑洞](/space/show?uid=141448) 谢谢大佬哦
在讨论《蒟蒻求教90分??P1060 开心的金明 》回复:
@[AC黑洞](/space/show?uid=141448) 已经通过了 感谢!
在讨论《蒟蒻求教90分??P1060 开心的金明 》回复:
#include #include using namespace std; int ds[105][100005]; int mon[111],pro[10]; int main() { int money,N; scanf("%d%d",&money,&N); for(int i=1;i =0;j--){ if(j…
就是一个很简单的背包问题,为什么90分难受 代码如下 #include #include using namespace std; int ds[105][100005]; int mon[111],pro[10]; int main() { int money,N; scanf("%d%d",&money,&N);…