Skip to content

Instantly share code, notes, and snippets.

View offchan42's full-sized avatar
🐳
Deep Learning with Generative AI

Chanchana Sornsoontorn offchan42

🐳
Deep Learning with Generative AI
View GitHub Profile
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int fields[50][50] = {}; // set to zero
for (int i = 0; i < n; i++) {
int v = i+1;
@offchan42
offchan42 / OffACMTemplate.cpp
Created October 20, 2015 15:08
My ACM ICPC Template
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef vector<int> vi;
#define INF 1001001001 // 1 billion, safer than 2B for Floyd Warshall’s
#define EPS 1e-9