Submission #615740
Source Code Expand
#include <bits/stdc++.h> using namespace std; struct Initializer { Initializer() { cin.tie(0); ios::sync_with_stdio(0); cout << fixed << setprecision(15); } } initializer; int main() { long long n; cin >> n; set<long long> s; for (long long i = 25; i <= n; i = i * 100 + 25) { for (long long j = i; j <= n; j += i) { s.insert(j); } } cout << s.size() << endl; }
Submission Info
Submission Time | |
---|---|
Task | A - ニコニコ数 |
User | not |
Language | C++11 (GCC 4.9.2) |
Score | 0 |
Code Size | 407 Byte |
Status | TLE |
Exec Time | 2583 ms |
Memory | 147232 KB |
Judge Result
Set Name | Sample | Subtask1 | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 60 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt |
Subtask1 | sample_01.txt, sample_02.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 25 ms | 924 KB |
sample_02.txt | AC | 628 ms | 38564 KB |
test_01.txt | AC | 23 ms | 800 KB |
test_02.txt | AC | 23 ms | 796 KB |
test_03.txt | AC | 23 ms | 928 KB |
test_04.txt | AC | 26 ms | 1192 KB |
test_05.txt | AC | 33 ms | 2216 KB |
test_06.txt | AC | 806 ms | 48160 KB |
test_07.txt | AC | 140 ms | 10660 KB |
test_08.txt | TLE | 2574 ms | 142248 KB |
test_09.txt | TLE | 2576 ms | 144672 KB |
test_10.txt | TLE | 2583 ms | 147232 KB |
test_11.txt | TLE | 2576 ms | 145700 KB |
test_12.txt | TLE | 2572 ms | 143024 KB |
test_13.txt | AC | 795 ms | 48032 KB |
test_14.txt | AC | 24 ms | 804 KB |
test_15.txt | AC | 26 ms | 804 KB |