結果
| 問題 | No.280 歯車の問題(1) |
| コンテスト | |
| ユーザー |
a01sa01to
|
| 提出日時 | 2025-12-23 00:22:07 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 333 bytes |
| 記録 | |
| コンパイル時間 | 3,167 ms |
| コンパイル使用メモリ | 277,920 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-12-23 00:22:22 |
| 合計ジャッジ時間 | 6,220 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using ull = unsigned long long;
int main() {
cin.tie(nullptr)->sync_with_stdio(false);
int n;
cin >> n;
vector<ll> a(n);
rep(i, n) cin >> a[i];
cout << a.back() << '/' << a.front() << '\n';
return 0;
}
a01sa01to