船酱魔王 @ 2025-02-23 13:11:59
这里是 【LGR-215-Div.3】洛谷基础赛 #20 & FAOI-R4 的赛后总结帖!感谢大家参与我们的第五场公开赛!
欢迎填写赛后评价!请如实填写!
总共
A 题:
B 题:
C 题:
D 题:
恭喜 沉石鱼惊旋、lwm7708、Green_White、JstOVO、beta99999、TruchyR AK 了本场比赛!
分数段统计:本场比赛前
本场比赛的锅如下:
在此我团成员向所有参赛选手诚挚致歉。
最后希望赛后题目能加入主题库,同时祝大家省选加油!
by QAQ_juruo @ 2025-02-23 15:12:07
就因为我使用了 vector?
by Exschawasion @ 2025-02-23 15:13:10
@QAQ_juruo
post out your code please?
by QAQ_juruo @ 2025-02-23 15:18:51
#include <iostream>
#include <vector>
#include <algorithm>
#include <set>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int T;
cin >> T;
while (T--) {
long long m;
cin >> m;
multiset<long long> Set;
for (int i = 0; (1LL << i) <= m; ++i) {
if (m & (1LL << i)) {
Set.insert(1LL << i);
}
}
int c = Set.size();
if ((c & (c - 1)) == 0) {
for (auto num : Set) {
cout << num << ' ';
}
cout << '\n';
continue;
}
int s = 1;
while (s < c) {
s <<= 1;
}
int t = s - c;
while (t--) {
auto it = Set.lower_bound(2);
if (it == Set.end()) {
break;
}
long long val = *it;
Set.erase(it);
Set.insert(val >> 1);
Set.insert(val >> 1);
}
for (auto num : Set) {
cout << num << ' ';
}
cout << '\n';
}
return 0;
}
我认为主观判断不仅仅看是否使用 vector。
by chen_zhe @ 2025-02-23 15:25:12
@QAQ_juruo
你的 T1 代码:
#include <iostream>
#include <string>
using namespace std;
int main() {
int qwq;
cin >> qwq;
while (qwq--) {
string s;
cin >> s;
bool flag = true;
for (char c : s) {
if (!isdigit(c)) {
flag = false;
break;
}
}
string str;
if (flag) {
str = "P" + s;
} else {
str = s;
}
cout << "https://www.luogu.com.cn/problem/" << qwq123 << endl;
}
return 0;
}
判定为 AI,不接受与此相关的申诉。
by Exschawasion @ 2025-02-23 15:30:18
@QAQ_juruo
you code good cpp
nothing else to spit gosh
by QAQ_juruo @ 2025-02-23 15:32:02
我确看不出AI的点在哪里。
突然想到一个点。
我的代码缩进都是用的 Tab,AI不同,他们生成全部使用的空格。
by Exschawasion @ 2025-02-23 15:35:43
sincere gratitude to AI equiped mules
FOR FUNNY SCHADENFREUDES
by K_yuxiang_rose @ 2025-02-23 15:48:08
@QAQ_juruo AI的点在于int qwq
by pengrongxuan @ 2025-02-23 15:52:37
@封禁用户复制一下t1的markdown就知道了,里面有看不见的一段话
by Nt_Tsumiki @ 2025-02-23 15:52:59
不太懂你没定义 qwq123 是咋输出的