結果
問題 |
No.1461 しあはせや歩みゆく?
|
ユーザー |
![]() |
提出日時 | 2021-07-14 18:44:44 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 159 bytes |
コンパイル時間 | 225 ms |
コンパイル使用メモリ | 27,648 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-03 18:59:32 |
合計ジャッジ時間 | 1,536 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 34 |
ソースコード
#include<stdio.h> int main() { long long int n; scanf("%lld", &n); if (n < 4) printf("%lld\n", n); else printf("%lld\n", (n - 3) * 5 + 3); return 0; }