# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
150829 | 2019-09-01T08:58:21 Z | 모현보유국(#3693, jhnah917, stonejjun03, ahgus89) | Crosses on the Grid (FXCUP4_cross) | C++17 | 0 ms | 0 KB |
#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; }