結果
問題 |
No.280 歯車の問題(1)
|
ユーザー |
|
提出日時 | 2016-10-13 08:10:33 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 293 bytes |
コンパイル時間 | 542 ms |
コンパイル使用メモリ | 59,572 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-22 03:35:31 |
合計ジャッジ時間 | 3,127 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <iostream> #include <cstdint> #include <vector> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int64_t n; cin >> n; vector<int64_t> v(n); for (auto& i : v) { cin >> i; } cout << v.at(n - 1) << "/" << v.at(0) << endl; return 0; }