# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
150829 | 모현보유국 (#200) | Crosses on the Grid (FXCUP4_cross) | 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 "cross.h"
typedef long long ll;
long long SelectCross(int K, std::vector<ll> I, std::vector<ll> O) {
int n = I.size();
ll ans = O[0] * O[0];
ll tmp = O[0] - I[0];
ans -= tmp * tmp;
return ans;
}