結果

問題 No.26 シャッフルゲーム
ユーザー LV3zJigVW57oPGyLV3zJigVW57oPGy
提出日時 2022-11-07 13:57:29
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 330 bytes
コンパイル時間 2,377 ms
コンパイル使用メモリ 158,180 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-20 21:57:51
合計ジャッジ時間 2,502 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h> 
using namespace std;
#include <ios>
#include <iomanip>
#include <iostream>
#include <string>
#include <algorithm>

int main(void){
  int a, times1;
  cin >> a >> times1;
  int &position1 = a;
  for(int i=0;i<times1;i++){
    int b, c;
    cin >> b >> c;
    if(b==a){
      c = a;
    }
  }
  cout <<a;
}
0