Submission #912957

# Submission time Handle Problem Language Result Execution time Memory
912957 2024-01-20T04:45:55 Z penguin133 Coreputer (IOI23_coreputer) C++17
20 / 100
1 ms 344 KB
#include <bits/stdc++.h>
using namespace std;
#include "coreputer.h" 
//#define int long long
#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());
 
 
std::vector<int> malfunctioning_cores(int N) {
	int x = run_diagnostic({0});
	if(x == 1)return {1, 0};
  	else if(x == 0)return {1, 1};
	else return {0, 1};
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Correct 1 ms 344 KB Output is correct
3 Correct 1 ms 344 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Incorrect 0 ms 344 KB Incorrect
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Correct 1 ms 344 KB Output is correct
3 Correct 1 ms 344 KB Output is correct
4 Correct 1 ms 344 KB Output is correct
5 Incorrect 0 ms 344 KB Incorrect
6 Halted 0 ms 0 KB -