| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 57011 | 杨竣周 | 迟到的生日 | C++ | Compile Error | 0 | 0 MS | 0 KB | 318 | 2022-08-03 17:34:42 |
#include<bits/stdc++.h> using namespace std; unordered_map<int,int> primes; int _(int x){ for(int i=2;i<=x/i;i++){ while(x%i==0){ x/=i; primes[i]++; } } if(x>1) primes[x]++; return prime.second; } int a,b,ans; int main(){ cin>>a>>b; for(;a<=b;a++) ans+=_(a); cout<<ans; return 0; }