結果

問題 No.280 歯車の問題(1)
ユーザー tetsuzuki1115
提出日時 2018-02-02 01:16:47
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 497 bytes
コンパイル時間 766 ms
コンパイル使用メモリ 79,780 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-30 02:11:02
合計ジャッジ時間 3,815 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <math.h>
#include <cmath>
#include <limits.h>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <functional>
#include <stdio.h>
using namespace std;

long long MOD = 1000000007;

int main() {
    
    int N;
    cin >> N;
    vector<long long> Z(N);
    for ( int i = 0; i < N; i++ ) {
        cin >> Z[i];
    }
    
    cout << Z[N-1] << "/" << Z[0] << endl;
    
    
    return 0;
}
0