MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / read

Function read

user/codeforces/1607A.Linear Keyboard.cpp:17–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15int ans=0;
16
17inline int read()
18{
19 int x=0,f=1;
20 char ch=getchar();
21 while(ch<'0'||ch>'9')
22 {
23 if(ch=='-') f=-1;
24 ch=getchar();
25 }
26 while(ch>='0'&&ch<='9')
27 {
28 x=x*10+(ch-'0');
29 ch=getchar();
30 }
31 return x*f;
32}
33
34int main()
35{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected