# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20425 | I_forgot_password (#35) | 채점 시스템 (OJUZ11_judge) | C++98 | 1000 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>
int main(){
int n;
scanf("%d",&n);
for(int i=0;i<n;i++){
int m,l;
scanf("%d%d",&m,&l);
int jari = 1;
int nn = m;
while(nn){
nn /= 10; jari *= 10;
}
int ans = 0,gop = 1;
for(;gop*jari+m<=l;ans+=1,gop*=10);
printf("%d\n",ans);
}
}
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... |