QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#880201 | #9699. Loving You in My Humble Way | A_programmer | WA | 1ms | 3840kb | C++17 | 648b | 2025-02-02 23:24:04 | 2025-02-02 23:24:12 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll mod = 1e9 + 7;
struct edge
{
int a, b, c;
};
vector<edge> e;
void print()
{
cout << e.size() << "\n";
for (edge nw : e) cout << nw.a << " " << nw.b << " " << nw.c << "\n";
}
int main()
{
ios::sync_with_stdio(false), cin.tie(0);
int B = 631, id = 0;
for (int j = 1; j + 23 <= B; j += 24)
for (int k = 1; k + 23 <= B; k += 24)
{
id++; if (id > B) return print(), 0;
for (int i = 0; i < 24; i++) e.emplace_back((edge){id, j + i + B, k + i + B + B});
}
return 0;
}
详细
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3840kb
input:
<no-input>
output:
15144 1 632 1263 1 633 1264 1 634 1265 1 635 1266 1 636 1267 1 637 1268 1 638 1269 1 639 1270 1 640 1271 1 641 1272 1 642 1273 1 643 1274 1 644 1275 1 645 1276 1 646 1277 1 647 1278 1 648 1279 1 649 1280 1 650 1281 1 651 1282 1 652 1283 1 653 1284 1 654 1285 1 655 1286 2 632 1287 2 633 1288 2 634 12...
result:
wrong answer Invalid graph.