| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 | 
|---|---|---|---|---|---|---|---|
| 1285498 | lizi14 | 선물 (IOI25_souvenirs) | C++20 | 0 ms | 0 KiB | 
#include "souvenirs.h"
#include <utility>
#include <vector>
#include <bits/stdc++.h>
using namespace std;
void buy_souvenirs(int N, long long P0) {
  	pair<vector<int>, long long> res = transaction(P0-1);
  	int a=res.second;
  	//int ans=P0-1-a;
  	//res=transaction(ans);
	for(int i=1; i<n; i++){
	    for(int j=1; j<=i; j++){
	        transaction(P0-1);
	    }
	    P0--;
	}
  	return;
}
/*
3
4 3 1
*/
