L-S
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《95求助》回复:
谢了,问题解决了
在讨论《求助大佬救助!》回复:
哪里
```cpp #include #include using namespace std; const int N=50005; int a[N]; int l,m,n; bool check(int x) { int ns=0,ct=0; for(int i=1;i >l>>n>>m; for(int i=1;i >…
在讨论《洛谷新用户必读》回复:
hp
```cpp #include using namespace std; const long long maxx=1e7+5; typedef unsigned long usl; usl tree[maxx]; usl pd(usl h,usl n) { usl sum=0; for(int i=0;i h) su…
在讨论《RE 6个,WA 2个,AC 2个,求助》回复:
抄题解是吧 题解第一个就是 我自己看就行了
在讨论《RE 6个,WA 2个,AC 2个,求助》回复:
呵呵 sort复杂度O(n) 真行
```cpp #include using namespace std; const long long maxx=1e8+5; long long tree[maxx]; long long pd(long long h,long long n) { long long sum=0; for(int i=0;i h)…
样例没过,不知道哪里错了 ```cpp #include #include #include using namespace std; const int N=1e5+5; struct ticket{ int t; int pj; }; queue tic; int main() { int n,ans=0; cin…
在讨论《评测机语言环境信息》回复:
后排
在讨论《为什么能编译但是结果全是紫色》回复:
高精加减乘除python还是很好玩的 但用C++做很爽,~~答案错误别怪我~~
在讨论《大佬们,帮看看是什么问题。结果显示time error,时间错误?谢谢诸位!》回复:
你在while里把i的值修改了 外部for循环里i也会变 看看这段代码输出就明白了 ``` #include using namespace std; int main() { for(int i=0;i<10;i++) { if(i%2) i+=1; cout<<i; } return 0; } ```
在讨论《大佬们,帮看看是什么问题。结果显示time error,时间错误?谢谢诸位!》回复:
绷不住了+10086
```cpp #include #include #include using namespace std; struct bir { string name; int year; int month; int day; int h; }; bool cmp(bir a,bir b) { if(a.year b.yea…
输出个1不动了 但应该没有死循环啊 恳请大神帮我解释一下 ```cpp #include #include #include using namespace std; struct fr { int nace; int h; }; queue q; int main() { int n; scanf("%d",&n);…
系统似乎set不能用—————— ```cpp #include #include using namespace std; const long long _=1e3+5; int a[_]; set s; int main() { int n; cin>>n; for(int i=0;i >i; for(int j…
```cpp #include using namespace std; float AllAge(int n,int a[]); int main() { int n; cin>>n; int a[n]; for(int i=0;i >a[i]; } float end=AllAge(n,a); printf("%.…
在讨论《大佬求助!!!》回复:
你的思路可以,但你的数组操作是错误的,在读入时数组下标和判断标准要统一,如果是**i从0开始,判断为小于数组长度,如果i从1开始,则判断标准为小于等于数组长度,而且要注意数组是否开够了,会不会越界** ~~切记切记~~
在讨论《洛谷新用户必读》回复:
啊啊
在文章《题解 P1001 【A+B Problem 】》发表评论:
不是,你加 干涉么?是不是敲顺手了?毕竟没有printf嘛