fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define int long long int
  4. #define double long double
  5.  
  6.  
  7. const int M = 1000000007;
  8. const int N = 3e5+9;
  9. const int INF = 2e9+1;
  10. const int MAXN = 100000;
  11. const int LINF = 2000000000000000001;
  12.  
  13. //_ ***************************** START Below *******************************
  14.  
  15.  
  16.  
  17. vector<int> a;
  18.  
  19. int consistency(int n, int k){
  20.  
  21.  
  22. return 0;
  23.  
  24. }
  25.  
  26.  
  27.  
  28.  
  29.  
  30. int practice(int n, int k){
  31.  
  32. return 0;
  33. }
  34.  
  35.  
  36.  
  37.  
  38. void solve() {
  39.  
  40. int n, k;
  41. cin >> n >> k;
  42. a.resize(n);
  43. for(int i=0; i<n; i++) cin >> a[i];
  44.  
  45. cout << consistency(n, k) << endl;
  46.  
  47. // cout << consistency(n, k) << " -> " << practice(n, k) << endl;
  48.  
  49. }
  50.  
  51.  
  52.  
  53.  
  54.  
  55. int32_t main() {
  56. ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
  57.  
  58. int t = 1;
  59. while (t--) {
  60. solve();
  61. }
  62.  
  63. return 0;
  64. }
Success #stdin #stdout 0.01s 5320KB
stdin
5 2
1 2 1 2 3
stdout
0