結果

問題 No.2335 Jump
ユーザー as277575
提出日時 2023-06-02 22:17:47
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 409 bytes
コンパイル時間 999 ms
コンパイル使用メモリ 106,796 KB
最終ジャッジ日時 2025-02-13 18:44:45
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <cassert>
#include <cstdio>
#include <cmath>
#include <deque>
#include <iostream>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <vector>
#include <set>

using namespace::std;


int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int a;
  for (int i = 0; i < n; ++i) {
    cin >> a;
  }
  cout << a - n << endl; 
  
  

  
  return 0;
}
0