| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 | 
|---|---|---|---|---|---|---|---|
| 1211434 | sula2 | 상형문자열 (IOI24_hieroglyphs) | C++20 | 0 ms | 0 KiB | 
#include <bits/stdc++.h>
#define all(a) a.begin(), a.end()
#define popcount(x) __builtin_popcountll(x)
using namespace std;
using namespace chrono;
vector<int> ucs(vector<int> A, vector<int> B) {
    for (int i = 0; i < A.size(); i++) if (A[i] != B[i]) {
        return {};
    }
    return A;
}
int main() {
    vector<int> W = {7, 3, 5, 1, 9};
    vector<int> A = {5, 4, 5, 6, 3};
    vector<int> B = {1, 2, 2, 3, 2};
    vector<int> E = {2, 3, 1};
    for (auto x : calculate_costs(W, A, B, E)) cout << x << "\n";
}
