This file contains 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 <iomanip> | |
#include <vector> | |
using namespace std; | |
// "dbg" means "debug" | |
/* | |
void fdbg(int *dbg) { |
This file contains 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 <iomanip> | |
#include <vector> | |
using namespace std; | |
void ve_calc(double* ary, double* ans) { | |
int i, j, tmp; |
This file contains 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 <iomanip> | |
using namespace std; | |
int main(void) { | |
double a, b, c, d, e, f, x, y, tmp; | |
for(;scanf("%lf %lf %lf %lf %lf %lf", &a, &b, &c, &d, &e, &f) == 6;) { |
This file contains 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 <iomanip> | |
#include <cstdio> | |
using namespace std; | |
int main(void) { | |
unsigned long a, b, m, n, tmp, gcd, lcm; |
This file contains 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 <iomanip> | |
#include <cstdio> | |
using namespace std; | |
int main(void) { | |
long long int a, b, m, n, tmp, gcd, lcm; |
This file contains 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
/* | |
both my legs itch... | |
help... | |
by the way, is my english sure? | |
*/ | |
#include <iostream> | |
#include <iomanip> | |
#include <cstdio> | |
#include <stack> |
This file contains 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
test |
This file contains 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
set nocompatible | |
filetype indent plugin on | |
syntax on | |
set autoindent | |
set nostartofline | |
set backspace=indent,eol,start |
This file contains 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 <iomanip> | |
#include <cstdio> | |
#include <stack> | |
using namespace std; | |
int main() { | |
int week, tmp, rep = 100000; |
This file contains 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> | |
int main() { | |
int a[4] = {0}; | |
int sum = 0, max = 0; | |
for(int i = 0; i < 4; i++) { | |
scanf("%d", &a[i]); | |
max = (max < a[i])? a[i]: max; | |
sum += a[i]; |
OlderNewer