답안 #345239

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
345239 2021-01-07T07:00:55 Z shmad 결혼 문제 (IZhO14_marriage) C++14
6 / 100
25 ms 512 KB
#include <bits/stdc++.h>
 
#define nl '\n'
#define pb push_back
#define E exit(0)
#define all(v) v.begin(),v.end()
#define ff first
#define ss second
#define sz(s) (s).size()

using namespace std;
using ll=long long;
using pii=pair<int,int>;
using pll=pair<ll,ll>;
 
const int N=1e6+5;
const int INF=1e9+7;
const int eps=1e-6;

void solve() {
	int n,m,k;
	cin>>n>>m>>k;
	for (int i=1;i<=k;i++) {
		int a,b;
		cin>>a>>b;
	}
	cout<<k;
	cout<<nl;
}

ll test=1;

int main () {
//	freopen(".in","r",stdin);
//	freopen(".out","w",stdout);
    ios_base::sync_with_stdio(0);
	cin.tie();
//	cin>>test;
    while (test--) solve();
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Incorrect 1 ms 364 KB Output isn't correct
3 Correct 1 ms 364 KB Output is correct
4 Incorrect 1 ms 364 KB Output isn't correct
5 Incorrect 2 ms 364 KB Output isn't correct
6 Incorrect 1 ms 512 KB Output isn't correct
7 Incorrect 1 ms 364 KB Output isn't correct
8 Correct 1 ms 364 KB Output is correct
9 Incorrect 1 ms 364 KB Output isn't correct
10 Incorrect 1 ms 364 KB Output isn't correct
11 Incorrect 1 ms 364 KB Output isn't correct
12 Incorrect 1 ms 364 KB Output isn't correct
13 Incorrect 1 ms 364 KB Output isn't correct
14 Incorrect 1 ms 364 KB Output isn't correct
15 Incorrect 1 ms 364 KB Output isn't correct
16 Incorrect 1 ms 364 KB Output isn't correct
17 Incorrect 1 ms 388 KB Output isn't correct
18 Correct 1 ms 364 KB Output is correct
19 Incorrect 1 ms 364 KB Output isn't correct
20 Incorrect 1 ms 364 KB Output isn't correct
21 Incorrect 1 ms 364 KB Output isn't correct
22 Incorrect 1 ms 364 KB Output isn't correct
23 Incorrect 1 ms 364 KB Output isn't correct
24 Incorrect 1 ms 364 KB Output isn't correct
25 Incorrect 3 ms 364 KB Output isn't correct
26 Incorrect 2 ms 504 KB Output isn't correct
27 Incorrect 1 ms 364 KB Output isn't correct
28 Incorrect 1 ms 364 KB Output isn't correct
29 Incorrect 3 ms 364 KB Output isn't correct
30 Incorrect 3 ms 364 KB Output isn't correct
31 Incorrect 8 ms 364 KB Output isn't correct
32 Incorrect 1 ms 364 KB Output isn't correct
33 Incorrect 1 ms 364 KB Output isn't correct
34 Incorrect 1 ms 364 KB Output isn't correct
35 Incorrect 20 ms 364 KB Output isn't correct
36 Incorrect 17 ms 364 KB Output isn't correct
37 Incorrect 9 ms 364 KB Output isn't correct
38 Incorrect 17 ms 364 KB Output isn't correct
39 Incorrect 1 ms 364 KB Output isn't correct
40 Incorrect 2 ms 364 KB Output isn't correct
41 Incorrect 4 ms 364 KB Output isn't correct
42 Incorrect 9 ms 364 KB Output isn't correct
43 Incorrect 9 ms 364 KB Output isn't correct
44 Incorrect 21 ms 364 KB Output isn't correct
45 Incorrect 6 ms 364 KB Output isn't correct
46 Incorrect 22 ms 364 KB Output isn't correct
47 Incorrect 24 ms 364 KB Output isn't correct
48 Incorrect 17 ms 364 KB Output isn't correct
49 Incorrect 25 ms 364 KB Output isn't correct
50 Incorrect 2 ms 364 KB Output isn't correct