Free Contest Testing Round 8 - AVG3NUM
View as PDF
Submit solution
Points:
0.11 (partial)
Time limit:
1.0s
Memory limit:
256M
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch
Comments
include <bits/stdc++.h>
using namespace std;int main(){iosbase::syncwith_stdio(false);cin.tie(NULL);int a,b,x,c;cin>>a>>b>>x;cout<<x*3-(a+b);return 0;}