# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20604 | Where is my GPA? (#35) | 채점 시스템 (OJUZ11_judge) | C++14 | 46 ms | 2020 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
typedef long long lint;
void exe() {
lint now, all, k, r=-1;
scanf("%lld%lld", &now, &all);
for (k=1; k<=now; k*=10);
for (; now<=all; ) now += k, k *= 10, r++;
printf("%lld\n", r);
}
int main()
{
int t;
scanf("%d", &t);
while (t--) exe();
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |