| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1228611 | tamzid | 스핑크스 (IOI24_sphinx) | C++20 | 0 ms | 400 KiB |
#include "sphinx.h"
#include <vector>
using namespace std;
vector<int> find_colours(int N, vector<int> X, vector<int> Y) {
int base = perform_experiment({-1, -1});
if (base == 1) {
// Same colour
return {0, 0};
} else {
// Different colour
vector<int> test = {0, -1};
int res = perform_experiment(test);
if (res == 1) return {0, 0}; // Both were 0
else return {0, 1}; // They are different
}
}
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
