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

Function main

Codeforces_problems/Fence/solutions.cpp:7–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <bits/stdc++.h>
6using namespace std;
7int main()
8{
9 long long t,a,b,c,d,i,j;
10 cin>>t;
11 while(t--){
12 cin>>a>>b>>c;
13 d=a+b+c;
14 cout<<d-1<<endl;
15 }
16
17 return 0;
18
19}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected