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

In case the statement didn't load correctly, you can download the statement here: Statement

Lưu ý: các bạn không nhập, xuất dữ liệu bằng file kể cả khi đề bài có yêu cầu. Đọc, ghi dữ liệu được thực hiện ở stdin và stdout.


Comments

Please read the guidelines before commenting.



  • 0
    locminhquangtq2025  commented on Jan. 28, 2026, 12:31 a.m.

    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;}