# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
878419 | Sandro123 | Closing Time (IOI23_closing) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#pragma GCC diagnostic warning "-std=c++11"
#define pb push_back
#define int long long
#define f first
#define s second
using namespace std;
const int P=2*1e6+5;
struct work{int v,len;};
vector <work> gr[P];
int fix[P],dist[2*P];
int max_score(int N, int X, int Y, long long K, std::vector<int> U, std::vector<int> V, std::vector<int> W){
for(int i=0; i)
}
main(){
ios_base::sync_with_stdio(false);
int T = 1;
cin >> T;
while(T--){
cout<<max_score()<<endl;
}
}