# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20606 | Where is my GPA? (#35) | 채점 시스템 (OJUZ11_judge) | C++98 | 53 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=0;
scanf("%lld%lld", &now, &all);
for (k=1; k<=now; k*=10);
for (; now+k<=all; ) 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... |