Skip to content

Instantly share code, notes, and snippets.

View tabvn's full-sized avatar

Toan tabvn

  • Danang, Vietnam
View GitHub Profile
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
ifstream fi ("CANARIUM.INP");
ofstream fo ("CANARIUM.OUT");
vector<long long> v;
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
ifstream fi ("SVOI.INP");
ofstream fo ("SVOI.OUT");
struct BT{
@tabvn
tabvn / FIBSEQ.cpp
Last active October 17, 2018 09:48
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
/*
/Users/toan/ued/18-10-2018
*/
ifstream fi ("FIBSEQ.INP");
#include <iostream>
#include <fstream>
using namespace std;
/*
/Users/toan/ued/16-10-2018/SP
*/
ifstream fi ("SP.INP");
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
struct B{
string s;
@tabvn
tabvn / cp.cpp
Last active October 16, 2018 03:06
so chinh P, tru 1 %3
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
struct Num {
long long k;
long long m;
};
@tabvn
tabvn / dothi.cpp
Last active October 13, 2018 10:58
#include <iostream>
#include <math.h>
using namespace std;
struct Point{
int x;
int y;
};
@tabvn
tabvn / NKCARD.cpp
Created October 13, 2018 03:06
NKCARD.cpp
#include <iostream>
#include <vector>
using namespace std;
struct Num{
int value;
bool deleted;
@tabvn
tabvn / NKCARD.cpp
Last active October 12, 2018 16:24
#include <iostream>
#include <vector>
using namespace std;
struct Num{
int value;
bool deleted;
#include <iostream>
#include <string>
using namespace std;
int main(){
int m,k;
string s;
cin >> m >> k;