結果
問題 | No.280 歯車の問題(1) |
ユーザー |
![]() |
提出日時 | 2015-09-20 05:10:21 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 1,156 ms |
コンパイル使用メモリ | 158,072 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-19 08:16:31 |
合計ジャッジ時間 | 3,336 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> #define FOR(a,b) for(int a=0;a<b;a++) using namespace std; typedef long long ll; int main() { int n; cin>>n; ll ar[n]; FOR(ctr1,n) cin>>ar[ctr1]; cout<<ar[n-1]<<"/"<<ar[0]<<endl; return 0; }