結果
| 問題 |
No.1273 はじめのζ関数
|
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2020-10-30 21:57:54 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 330 bytes |
| コンパイル時間 | 556 ms |
| コンパイル使用メモリ | 68,628 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-22 00:33:36 |
| 合計ジャッジ時間 | 1,722 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 40 |
ソースコード
#include<iostream>
#include<vector>
using namespace std;
int main(){
int x;
cin >> x;
if (x>=21){
cout << 0 << endl;
}
else{
vector<int> A={1000000, 355065, 153009, 70685, 33758, 16414, 8065, 3988, 1979, 985, \
491, 245, 122, 61, 30, 15, 7, 3, 1};
cout << A[x-2] << endl;
}
}
Kazun