Skip to content

Instantly share code, notes, and snippets.

@qjatn0120
Created March 19, 2023 17:10
Show Gist options
  • Save qjatn0120/f04024a7f6db47bcddc0575ba54c3b2a to your computer and use it in GitHub Desktop.
Save qjatn0120/f04024a7f6db47bcddc0575ba54c3b2a to your computer and use it in GitHub Desktop.
#include <bits/stdc++.h>
using namespace std;
int main(){
cin.tie(nullptr), ios::sync_with_stdio(false);
int t, a, b, c;
cin >> t;
while(t--){
cin >> a >> b >> c;
if(a + b == c) cout << "+\n";
else cout << "-\n";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment