結果
問題 |
No.1903 Day1
|
ユーザー |
|
提出日時 | 2022-12-27 23:57:28 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 259 bytes |
コンパイル時間 | 1,825 ms |
コンパイル使用メモリ | 190,848 KB |
最終ジャッジ日時 | 2025-02-09 21:15:59 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) typedef long long ll; using namespace std; int main() { cin.tie(0)->sync_with_stdio(0); int N; cin >> N; cout << min(6, N) + max(0, N - 6) * 7 << "\n"; return 0; }