結果

問題 No.280 歯車の問題(1)
ユーザー nanasili
提出日時 2015-09-25 12:49:43
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 563 bytes
コンパイル時間 650 ms
コンパイル使用メモリ 83,580 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-19 09:11:14
合計ジャッジ時間 2,641 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <vector>
#include <cfloat>
#include <string>
#include <cmath>
#include <set>
#include <cstdlib>
#include <map>
#include <ctime>
#include <iomanip>
#include <functional>
#include <deque>
#include <iostream>
#include <cstring>
#include <queue>
#include <cstdio>
#include <stack>
#include <climits>
#include <sys/time.h>
#include <cctype>

using namespace std;

typedef long long ll;

int main() {
  int n;
  cin >> n;
  ll a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  std::cout << a[n-1] << "/" << a[0] << std::endl;
}
0