Skip to content

Instantly share code, notes, and snippets.

@wangwillian0
Created September 2, 2019 01:30
Show Gist options
  • Save wangwillian0/98d40ab9fe428fd41bc5746ced80ddc1 to your computer and use it in GitHub Desktop.
Save wangwillian0/98d40ab9fe428fd41bc5746ced80ddc1 to your computer and use it in GitHub Desktop.
Comentário Noic OBI 2019 - Fase 2 - Programação Nível 1
// 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