Code Submission Evaluation System Login

CSES - HIIT Open 2016

HIIT Open 2016

Contest start:2016-05-28 11:00:00
Contest end:2016-05-28 16:00:00

Task list | Submit code | Submissions | Messages | Scoreboard | Statistics


History
2016-05-28 13:30:57
Task:Fixed points
Sender:Oispa Kaljaa
Submission time:2016-05-28 13:30:57
Status:READY
Result:WRONG ANSWER

Show test data

Code

#include <bits/stdc++.h>

#define u64 unsigned long long
using namespace std;

int main(){
  cin.sync_with_stdio(0);
  cin.tie(0);
  
  int tests; cin >> tests;
  while(tests--){
    u64 a, b; cin >> a >> b;
    if(b-a > 0)
      cout << b-a << endl;
    else
      cout << "-" << endl;
  }
  return 0;
}