Submission #742484

# Submission time Handle Problem Language Result Execution time Memory
742484 2023-05-16T10:03:07 Z penguin133 The Collection Game (BOI21_swaps) C++17
3 / 100
58 ms 420 KB
#include <bits/stdc++.h>
using namespace std;
 
//#define int long long
#include "swaps.h"
#define pi pair<int, int>
#define pii pair<int, pi>
#define fi first
#define se second
#ifdef _WIN32
#define getchar_unlocked _getchar_nolock
#endif
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());
 
int cnt[505], vis[505], stuf[505][505], ans[505];
bool cmp(int a, int b){
	return cnt[a] > cnt[b];
}
void solve(int N, int V) {
   for(int i=1;i<=N;i++){
		for(int j=1;j<=N-i;j++){
			schedule(j, j + 1);
          	auto grr = visit();
        }
	}
   vector <int> brr;
   for(int i=1;i<=N;i++)brr.push_back(i);
  // sort(brr.begin(), brr.end(), cmp);
   answer(brr);
   
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 208 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 208 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 58 ms 208 KB Correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 58 ms 208 KB Correct
3 Incorrect 1 ms 208 KB Not correct
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 35 ms 208 KB Correct
3 Runtime error 41 ms 208 KB Execution killed with signal 13
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 35 ms 208 KB Correct
3 Runtime error 41 ms 208 KB Execution killed with signal 13
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 52 ms 208 KB Correct
3 Runtime error 41 ms 308 KB Execution killed with signal 13
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 52 ms 208 KB Correct
3 Runtime error 41 ms 308 KB Execution killed with signal 13
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 46 ms 208 KB Correct
3 Runtime error 33 ms 292 KB Execution killed with signal 13
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 46 ms 208 KB Correct
3 Runtime error 33 ms 292 KB Execution killed with signal 13
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 45 ms 420 KB Correct
3 Runtime error 27 ms 292 KB Execution killed with signal 13
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Correct
2 Correct 45 ms 420 KB Correct
3 Runtime error 27 ms 292 KB Execution killed with signal 13
4 Halted 0 ms 0 KB -