結果
問題 |
No.45 回転寿司
|
ユーザー |
![]() |
提出日時 | 2017-01-31 17:01:50 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 308 bytes |
コンパイル時間 | 737 ms |
コンパイル使用メモリ | 71,376 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-23 22:43:51 |
合計ジャッジ時間 | 1,844 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 30 |
ソースコード
#include <stdio.h> #include <vector> #include <iostream> #include <algorithm> using namespace std; typedef struct Value{ int id, v; }Value; int main(){ int n; scanf("%d",&n); vector<Value> v(n); for(int i=0;i<n;i++){ scanf("%d",&v[i].v); v[i].id=i; } if(n==1){ printf("%d\n",v[0]); return 0; } return 0; }