- 问答
宋宇轩的公告
- @ 2026-1-8 19:37:07
这是一个公告,可以讨论
各位,我把一个不隶属于图灵编程的人拉进了这个域,他是未来之星成员,二实小2021.1的刘昕恺,虽说他不是图灵编程的人,但如果他发表一些离谱的言论,敬请不要开喷,不要开喷,不要开喷!因为各位都是高级选手了,他还只是只会
std::cin std::cout
的萌新
6 条评论
-
宋宇轩2 @ 2026-2-27 18:02:02#include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); long long n,res,cnt,x; cin>>n>>x; res=x;cnt=1; n--; while(n--){ cin>>x; if(res==x){ cnt++; } else { cnt--; } if(cnt<=0){ res=x;cnt=1; } } cout<<res; }https://oj.qdturing.cn/d/A1002/p/yc2501
-
@ 2026-2-1 17:40:26@曹莫凡
莎碧
-
@ 2026-1-29 11:54:19
你特母的
👎 1 -
@ 2026-1-29 11:54:14
你母的
👎 1 -
@ 2026-1-10 15:18:33
666666666
同学
- 1