# 東山程研算法班
## 一切的開始
---
## GDB online

https://www.onlinegdb.com/
---
## ZEROJUDGE

https://zerojudge.tw/
---
## typing.com

https://www.typing.com/
---
## First C++ code
```
#include <iostream>
using namespace std;
int main(){
cout<< "Hello world!";
return 0;
}
```
----
## IO Optimization
----
比賽基本樣式
不管看不看得懂題目先打就對了!
```
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
return 0;
}
```
---
# I/O
### input / output
----
cout<< ;
```
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
cout<< "Hello DSCS!";
return 0;
}
```
----
cin>> ;
```
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
int n; // type name = value;
cin>> n;
cout<<n;
return 0;
}
```
----
zerojudge
a001
---
# further IO optimization
----
## #include <bits/stdc++.h>
----
## ios::sync_with_stdio(0);
----
## cin.tie(0);
{"contributors":"[{\"id\":\"9749a0a0-dc56-4c53-952a-b994ccd14f39\",\"add\":1232,\"del\":13}]","title":"東山程研算法班","description":"imagehttps://www.onlinegdb.com/"}