MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / main

Function main

CodeChef_problems/POTATOES/Solution.cpp:19–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19int main()
20{
21 int t,x,y,z;//t denotes the number of test cases
22 cin>>t;
23 while(t--)
24 {
25 cin>>x>>y;z=1;
26 while(fun(x+y+z)==0)
27 {z++;}
28 cout<<z<<endl;//to print required output
29 }
30
31 return 0;
32}

Callers

nothing calls this directly

Calls 1

funFunction · 0.85

Tested by

no test coverage detected