Skip to content

Instantly share code, notes, and snippets.

@k3kys
k3kys / 1.cpp
Last active May 2, 2021 01:40
12869
#include <bits/stdc++.h>
using namespace std;
int d[61][61][61];
int go(int i, int j, int k) {
if (i < 0) return go(0, j, k);
if (j < 0) return go(i, 0, k);
if (k < 0) return go(i, j, 0);