We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59312a6 commit 3a60182Copy full SHA for 3a60182
Library/Miscellanious/fast_input.cpp
@@ -0,0 +1,11 @@
1
+void si(int &ret){
2
+ int ip=gc(),flag=1;ret=0;for(;ip<'0'||ip>'9';ip=gc())
3
+ if(ip=='-'){flag=-1;ip=gc();break;}
4
+ for(;ip>='0'&&ip<='9';ip=gc())ret=(ret<<1)+(ret<<3)+ip-'0';ret*=flag;
5
+}
6
+
7
+void sl(ll &ret) {
8
9
10
11
0 commit comments