| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 57095 | 老师 | 迟到的生日 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 313 | 2022-08-03 18:15:16 |
#include<bits/stdc++.h> using namespace std; int t,t1,ans=1,n=-1; int main(){ cin>>t>>t1; for(int i=t;i<=t1;i++){ int m,s=0; m=i; for(int j=2;j<=sqrt(m);j++){ if(m%j==0){ s=0; while(m%j==0) m/=j,s++; } ans*=(s+1); } n+=ans; } cout<<n; return 0; }