# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1252064 | islam_2010 | 선물 (IOI25_souvenirs) | C++20 | 0 ms | 0 KiB |
#include "souvenirs.h"
#include <bits/stdc++.h>
using namespace std;
void buy_souvenirs(int n, long long P0){
if(N==2){
transaction(P0-1);
}else {
for(int i = 0; i < n-1; i++){
int m = n-i-1;
for(int j = 0; j <= i; j++){
transaction(m);
}
}
}
}