結果
問題 |
No.280 歯車の問題(1)
|
ユーザー |
![]() |
提出日時 | 2017-07-06 01:12:21 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 224 bytes |
コンパイル時間 | 1,555 ms |
コンパイル使用メモリ | 166,636 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-05 20:22:07 |
合計ジャッジ時間 | 3,756 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> #define REP(i,n,N) for(int i=(n);i<(int) N;i++) typedef long long ll; using namespace std; int main(){ int n; cin>>n; ll a[51]; REP(i,0,n) cin>>a[i]; cout<<a[n-1]<<"/"<<a[0]<<endl; return 0; }