Skip to content

Instantly share code, notes, and snippets.

@t1089
t1089 / 定時K彈_vector.cpp
Created February 5, 2021 01:05 — forked from scott987/定時K彈_vector.cpp
Taiwan APCS 105-10-29 第3題 定時K彈 c++ vector 解法
#include <cstdio>
#include <vector>
using namespace std;
vector<int> member;
int main()
{
int N,M,K;
@t1089
t1089 / cpe01_uva10041.cpp
Created February 5, 2021 01:04 — forked from wcyang77/cpe01_uva10041.cpp
CPE_Ref CPP Prog
//Vito's family (CPE10406, UVA10041)
#include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
int main() {
int n,r,s;
vector<int> num;
cin>>n;
@t1089
t1089 / gist:aa143e7074acc75fbc03279e4df9366d
Created March 14, 2020 01:54 — forked from nobuti/gist:3816985
MySQL tables for continent names, country names and their ISO codes
CREATE TABLE IF NOT EXISTS `continents` (
`code` CHAR(2) NOT NULL COMMENT 'Continent code',
`name` VARCHAR(255),
PRIMARY KEY (`code`)
) ENGINE=InnoDB;
INSERT INTO `continents` VALUES
('AF', 'Africa'),
('AS', 'Asia'),
('EU', 'Europe'),