Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
56705 | zhangweiran | 统计数字 | C++ | Accepted | 1 MS | 248 KB | 154 | 2024-11-15 15:14:13 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int cnt=0; for(int i=2;i<=n;i+=10) cnt++; cout<<cnt; return 0; }