add aloha/2025hcpc

This commit is contained in:
2025-11-29 16:36:55 +09:00
parent 5b238eb794
commit d668bc1d85
8 changed files with 235 additions and 1 deletions

View File

@@ -0,0 +1,43 @@
#include <algorithm>
#include <iostream>
#include <queue>
#include <stdint.h>
#include <stdlib.h>
using namespace std;
typedef struct Node {
int value;
struct Node *left;
struct Node *right;
bool status;
} Node;
int main() {
cin.tie(NULL);
ios_base::sync_with_stdio(0);
auto data = new vector<int>;
auto pq = new vector<int>;
uint64_t n;
int temp;
cin >> n;
cin >> temp;
pq->push_back(temp);
cout << 1 << "\n";
Node * node = NULL;
for (size_t i = 1; i < n; i ++) {
cin >> temp;
pq->push_back(temp);
}
if (node == NULL) {
cout << 1 << "\n";
}
delete pq;
delete data;
}