結果

問題 No.2140 Triangle
ユーザー chro_96chro_96
提出日時 2022-12-02 21:24:32
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 151 bytes
コンパイル時間 182 ms
コンパイル使用メモリ 27,264 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 22:27:51
合計ジャッジ時間 1,037 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main () {
  long long a = 0LL;
  
  int res = 0;
  
  res = scanf("%lld", &a);
  
  printf("%lld\n", 2LL*a-1LL);
  return 0;
}
0