This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone git://github.com/sebcioz/vimfiles.git | |
| cd vimfiles | |
| cp vimrc ~/.vimrc | |
| mkdir ~/.vim | |
| cp -r * ~/.vim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Animal | |
| attr_accessor :name | |
| def say | |
| puts "Wrrrrr" | |
| end | |
| def sleep | |
| puts "Sleeeping" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<cstdio> | |
| #include<iostream> | |
| #include<string> | |
| #include<vector> | |
| #include<algorithm> | |
| #define INF 2000000000 | |
| #define MAX 3000100 | |
| using namespace std; | |
| int Z, n, pi[MAX], d; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| #include<string> | |
| #define INF 2000000000 | |
| #define MAX 1000000 | |
| using namespace std; | |
| int Z, pi[MAX]; | |
| string lyr, result; | |
| void load_data(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "Acquire::http::Pipeline-Depth "0";" | sudo tee -a /etc/apt/apt.conf.d/90localsettings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<cstdio> | |
| #include<iostream> | |
| #include<string> | |
| #include<vector> | |
| #define INF 2000000000 | |
| #define MAX 1000000 | |
| using namespace std; | |
| int Z; | |
| string text, text2, result; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| #include<cstring> | |
| #define MAX 4000001 | |
| using namespace std; | |
| int Z, n, R[MAX], id, max_value, j, k; | |
| string text, result; | |
| bool ok; | |
| void load_data_and_cleaning(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| #include<cstring> | |
| #define MAX 4000001 | |
| using namespace std; | |
| int Z, n, R[MAX], id, max_value; | |
| string text, result; | |
| void load_data_and_cleaning(); | |
| void calculate(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| #include<string> | |
| #define INF 2000000000 | |
| #define MAX 2000010 | |
| using namespace std; | |
| int Z, pi[MAX], n, range[MAX], S[MAX]; | |
| string lyr, result; | |
| void load_data(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<cstdio> | |
| #include<iostream> | |
| #include<string> | |
| #include<vector> | |
| #define INF 2000000000 | |
| #define MAX 1000000 | |
| using namespace std; | |
| int Z, n, pref1[MAX], pref2[MAX]; | |
| char text[MAX]; |
OlderNewer