結果

問題 No.280 歯車の問題(1)
ユーザー CELICA
提出日時 2020-09-26 23:25:44
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 345 bytes
コンパイル時間 1,570 ms
コンパイル使用メモリ 171,128 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 01:04:47
合計ジャッジ時間 3,427 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

using ll = long long;
using ul = unsigned long;
using ull = unsigned long long;

int main()
{
	ios::sync_with_stdio(false);
	cin.tie(nullptr);

	ll n;
	cin >> n;

	vector<ll> z(n);

	for (auto&& it : z)
		cin >> it;

	cout << to_string(z.back()) + "/" + to_string(z.front()) << "\n";

	return 0;
}
0