| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 149676 | 티셔츠 콜렉터 (#200) | Crosses on the Grid (FXCUP4_cross) | C++17 | 6 ms | 384 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 "cross.h"
long long SelectCross(int K, std::vector<int> I, std::vector<int> O) {
int N = I.size();
if (K == 1) {
long long max = 0;
for (int i=0; i<N; i++) {
long long rec = O[i]*O[i];
rec -= (O[i]-I[i])*(O[i]-I[i]);
if (rec > max) {
max = rec;
}
}
return max;
}
return 0;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
