結果
問題 | No.280 歯車の問題(1) |
ユーザー |
|
提出日時 | 2015-12-18 03:03:34 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 255 bytes |
コンパイル時間 | 1,213 ms |
コンパイル使用メモリ | 157,692 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-16 08:24:48 |
合計ジャッジ時間 | 3,569 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define REP(i, n) for(int(i)=0;(i)<(n);++(i)) #define in(T,V) T V;cin>>V; int main(){ in(int,N); ll a[55]; REP(i,N) cin >> a[i]; cout << a[N-1] << "/" << a[0] << endl; }