# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
269904 | brcode | Toll (BOI17_toll) | C++14 | 857 ms | 32760 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 <iostream>
using namespace std;
const int MAXN = 5e4+5;
struct node{
int weight[6][6];
bool realnode = false;
void init(){
for(int i=0;i<=5;i++){
for(int j=0;j<=5;j++){
weight[i][j] = 1e9;
}
}
}
void init2(){
for(int i=0;i<=5;i++){
for(int j=0;j<=5;j++){
weight[i][j] = 0;
}
}
}
void upd(int x,int y,int w){
//cout<<x<<" "<<y<<" "<<weight[x][y]<<endl;
weight[x][y] = min(weight[x][y],w);
}
};
node seg[4*MAXN];
# | 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... |