QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#186707#4911. 造数据hos_lyric#5 0ms3752kbC++141.3kb2023-09-24 10:25:102024-07-04 02:08:15

Judging History

你现在查看的是最新测评结果

  • [2024-07-04 02:08:15]
  • 评测
  • 测评结果:5
  • 用时:0ms
  • 内存:3752kb
  • [2023-09-24 10:25:10]
  • 提交

answer

#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <functional>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>

using namespace std;

using Int = long long;

template <class T1, class T2> ostream &operator<<(ostream &os, const pair<T1, T2> &a) { return os << "(" << a.first << ", " << a.second << ")"; };
template <class T> ostream &operator<<(ostream &os, const vector<T> &as) { const int sz = as.size(); os << "["; for (int i = 0; i < sz; ++i) { if (i >= 256) { os << ", ..."; break; } if (i > 0) { os << ", "; } os << as[i]; } return os << "]"; }
template <class T> void pv(T a, T b) { for (T i = a; i != b; ++i) cerr << *i << " "; cerr << endl; }
template <class T> bool chmin(T &t, const T &f) { if (t > f) { t = f; return true; } return false; }
template <class T> bool chmax(T &t, const T &f) { if (t < f) { t = f; return true; } return false; }
#define COLOR(s) ("\x1b[" s "m")



int main() {
  printf("13\n4\n1 2\n1 3\n3 4\n");
  return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 5
Accepted
time: 0ms
memory: 3740kb

input:

3

output:

13
4
1 2
1 3
3 4

result:

ok Accepted

Test #2:

score: 0
Wrong Answer
time: 0ms
memory: 3684kb

input:

5

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #3:

score: 0
Wrong Answer
time: 0ms
memory: 3748kb

input:

7

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 3744kb

input:

8

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #5:

score: 0
Wrong Answer
time: 0ms
memory: 3744kb

input:

9

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #6:

score: 0
Wrong Answer
time: 0ms
memory: 3752kb

input:

10

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #7:

score: 0
Wrong Answer
time: 0ms
memory: 3628kb

input:

11

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #8:

score: 0
Wrong Answer
time: 0ms
memory: 3624kb

input:

15

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #9:

score: 0
Wrong Answer
time: 0ms
memory: 3580kb

input:

20

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #10:

score: 0
Wrong Answer
time: 0ms
memory: 3748kb

input:

50

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #11:

score: 0
Wrong Answer
time: 0ms
memory: 3628kb

input:

75

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #12:

score: 0
Wrong Answer
time: 0ms
memory: 3752kb

input:

100

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #13:

score: 0
Wrong Answer
time: 0ms
memory: 3684kb

input:

150

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #14:

score: 0
Wrong Answer
time: 0ms
memory: 3676kb

input:

200

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #15:

score: 0
Wrong Answer
time: 0ms
memory: 3668kb

input:

250

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #16:

score: 0
Wrong Answer
time: 0ms
memory: 3748kb

input:

300

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #17:

score: 0
Wrong Answer
time: 0ms
memory: 3740kb

input:

325

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #18:

score: 0
Wrong Answer
time: 0ms
memory: 3676kb

input:

350

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #19:

score: 0
Wrong Answer
time: 0ms
memory: 3692kb

input:

375

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected

Test #20:

score: 0
Wrong Answer
time: 0ms
memory: 3624kb

input:

400

output:

13
4
1 2
1 3
3 4

result:

wrong output format Unexpected end of file - int64 expected