結果

問題 No.280 歯車の問題(1)
ユーザー satashunsatashun
提出日時 2015-09-18 22:25:04
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 461 bytes
コンパイル時間 1,068 ms
コンパイル使用メモリ 159,308 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-19 06:57:45
合計ジャッジ時間 3,028 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

typedef pair<int, int> pii;
typedef long long ll;
typedef vector<int> vi;

#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define rep(i,n) rep2(i,0,n)
#define rep2(i,m,n) for(int i=m;i<(n);i++)
#define ALL(c) (c).begin(),(c).end()

int N;
string s[60];

int main() {
    cin >> N;
    rep(i, N) cin >> s[i];
    cout << s[N-1]<<"/"<<s[0]<<endl;
    return 0;
}
0