'commit'
This commit is contained in:
12
TangDou/LanQiaoBei/LanQiaoBei13ShengSai_ZJ_II/1.cpp
Normal file
12
TangDou/LanQiaoBei/LanQiaoBei13ShengSai_ZJ_II/1.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
int n, cnt;
|
||||
int main() {
|
||||
cin >> n;
|
||||
for (int i = 3; i <= n; i++)
|
||||
if (i % 10 == 3) cnt++;
|
||||
|
||||
cout << cnt << endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user