题解审核不过求助
  • 板块灌水区
  • 楼主冯老师
  • 当前回复2
  • 已保存回复2
  • 发布时间2023/10/29 10:00
  • 上次更新2023/11/2 10:57:39
查看原帖
题解审核不过求助
4209
冯老师楼主2023/10/29 10:00

rt,

很遗憾,您上传的题解 CF263D Cycle in Graph 未能通过审核。原因是 init_main() 和 qingkong() 里的内容?

问题是这两个函数是我码头,如果需要里面才会有东西,不需要的话就是空的,怎么和管理解释?

// author: lzyqwq
#include <bits/stdc++.h>
using namespace std; const int N = 1e5 + 5;
template<class T> void read(T &x) {
    x = 0; T f = 1; char c = getchar();
    for (; !isdigit(c); c = getchar()) if (c == '-') f = -1;
    for (; isdigit(c); c = getchar()) x = (x << 3) + (x << 1) + c - 48; x *= f;
}
template<class T> void write(T x) {
    if (x > 9) write(x / 10); putchar(x % 10 + 48);
}
template<class T> void print(T x, char ed = '\n') {
    if (x < 0) putchar('-'), x = -x; write(x), putchar(ed);
}
void init_main() {

}
void qingkong() {

}
void work() {
    qingkong(); 
}
signed main() {
    // cin.tie(0), cout.tie(0), ios::sync_with_stdio(0);
    init_main(); int testcases = 1;
    // cin >> testcases;
    // read(testcases);
    while (testcases--) work(); return 0;
}

以上是码头

2023/10/29 10:00
加载中...