結果
問題 | No.280 歯車の問題(1) |
ユーザー |
|
提出日時 | 2019-08-11 19:41:27 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 205 bytes |
コンパイル時間 | 2,096 ms |
コンパイル使用メモリ | 192,876 KB |
最終ジャッジ日時 | 2025-01-07 11:42:39 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h>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];cout<<a[n-1]<<'/'<<a[0]<<endl;return 0;}