結果
問題 | No.299 蟻本が読めない |
ユーザー |
![]() |
提出日時 | 2017-11-13 22:41:48 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 337 bytes |
コンパイル時間 | 657 ms |
コンパイル使用メモリ | 70,884 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-25 00:32:40 |
合計ジャッジ時間 | 1,004 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
#include<iostream>#include<iomanip>#include<cmath>#include<string>#include<algorithm>#include<vector>#include<math.h>using namespace std;int main(){long N;cin >> N;if(N == 1){cout << 316 << endl;}else{long long ans = 316 + (N-1) * 52;cout << ans << endl;}return 0;}