-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6aa5d4c
commit 73a9572
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <bits/stdc++.h> | ||
#define int long long | ||
#define mod 1000000007 | ||
#define rep(i,n,s) for(int i=0;i<n;i+=s) | ||
using namespace std; | ||
void solve() | ||
{ | ||
int a, b, c; | ||
cin >> a >> b >> c; | ||
cout << (7 - a) + (7 - b) + (7 - c) << endl; | ||
|
||
} | ||
|
||
int32_t main() | ||
{ | ||
ios_base::sync_with_stdio(false); | ||
cin.tie(NULL); | ||
solve(); | ||
} |