CSES - HIIT Open 2016 - Results
Submission details
Task:Fixed points
Sender:Oispa Kaljaa
Submission time:2016-05-28 13:30:57 +0300
Language:C++
Status:READY
Result:
Test results
testverdicttime
#10.16 sdetails

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

Test details

Test 1

Verdict:

input
100000
12865169357617740396 294321893...

correct output
5903494652862419412
-
13008184152928659765
9415006529485574473
16201136572240455608
...

user output
8524793650328052280
10634411514039706942
2200741734032224965
13974091274776339273
2808043873295343536
...