Skip to content

Instantly share code, notes, and snippets.

@taikoubou
Created December 12, 2013 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taikoubou/7930796 to your computer and use it in GitHub Desktop.
Save taikoubou/7930796 to your computer and use it in GitHub Desktop.
#include<iostream>
using namespace std;
int main(){
int a,b,c,d,ave;
cin >> a >> b >> c >> d >> ave;
cout << 5*ave-a-b-c-d << endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment