結果
| 問題 | No.280 歯車の問題(1) |
| コンテスト | |
| ユーザー |
lattice
|
| 提出日時 | 2015-09-18 22:36:54 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 1,000 ms |
| + 385µs | |
| コード長 | 332 bytes |
| 記録 | |
| コンパイル時間 | 363 ms |
| コンパイル使用メモリ | 89,012 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-18 05:26:06 |
| 合計ジャッジ時間 | 3,023 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <math.h>
using namespace std;
int main()
{
int n;
cin >> n;
vector<long long> gearList;
for(int i = 0; i < n; i++)
{
long long gear;
cin >> gear;
gearList.push_back(gear);
}
cout << gearList[n-1] << '/' << gearList[0];
return 0;
}
lattice