Created
September 2, 2019 01:30
-
-
Save wangwillian0/98d40ab9fe428fd41bc5746ced80ddc1 to your computer and use it in GitHub Desktop.
Comentário Noic OBI 2019 - Fase 2 - Programação Nível 1
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
// Comentário Noic OBI 2019 - Fase 2 - Programação Nível 1 | |
// Nota esquecida | |
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int a, m; | |
cin >> a >> m; | |
int b = m*2 - a; | |
cout << b << "\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment