Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
48204 | liusiyu | 统计数字 | C++ | Accepted | 0 MS | 240 KB | 155 | 2024-05-29 21:19:23 |
#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; }