제출 #1251083

#제출 시각아이디문제언어결과실행 시간메모리
1251083ishat_jha선물 (IOI25_souvenirs)C++20
0 / 100
0 ms412 KiB
#include "souvenirs.h"
#include <bits/stdc++.h>
using namespace std;

void buy_souvenirs(int N, long long P0) {
    long long n = N;
    long long first = P0;

    pair<vector<int>, long long> get = transaction(first - 1);
    long long cnt = get.first.size();
    long long rem = get.second;
    long long cost = (first - 1 - rem) / cnt;
    pair<vector<int>, long long> get1 = transaction(cost);
    
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...