# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1244184 | cpdreamer | Longest Trip (IOI23_longesttrip) | C++20 | 0 ms | 408 KiB |
#include"longesttrip.h"
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
const long long INF = 1e18+1;
typedef long long ll;
const ll MOD = 1e9+7;
#define F first
#define P pair
#define S second
#define pb push_back
#define all(v) v.begin(), v.end()
#define V vector
typedef tree<int,null_type,less<int>,rb_tree_tag,
tree_order_statistics_node_update> indexed_set;
void file() {
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
}
std::vector<int> longest_trip(int N, int D)
{
V<int>vp;
for (int i=1;i<=N;i++) {
vp.pb(i);
}
return vp;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |