Skip to content

Instantly share code, notes, and snippets.

@joaogui1
Created May 30, 2016 23:35
Show Gist options
  • Save joaogui1/32ee6a9b35506656942daead2ae2fb5c to your computer and use it in GitHub Desktop.
Save joaogui1/32ee6a9b35506656942daead2ae2fb5c to your computer and use it in GitHub Desktop.
#include <bits/stdc++.h>
using namespace std;
int main(){
int t1,t2,t3,t4;
scanf("%d %d %d %d", &t1, &t2, &t3, &t4);
printf("%d\n",(t1+t2+t3+t4-3));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment