| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1348793 | ElayV13 | Horses (IOI15_horses) | C++20 | 6 ms | 4164 KiB |
#include "horses.h"
#include "bits/stdc++.h"
using namespace std;
const int mod=1e9+7;
int init(int N,int X[],int Y[])
{
int cnt=1;
int res=0;
for(int i=0;i<N;i++){
cnt*=X[i];
res=max(res,cnt*Y[i]);
}
return res;
}
int updateX(int pos,int val)
{
}
int updateY(int pos,int val)
{
}
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... | ||||
