結果

問題 No.5001 排他的論理和でランニング
ユーザー merom686
提出日時 2018-03-16 22:29:35
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 15 ms / 1,500 ms
コード長 433 bytes
コンパイル時間 510 ms
実行使用メモリ 7,480 KB
スコア 24,513,786
最終ジャッジ日時 2020-03-12 19:22:30
ジャッジサーバーID
(参考情報)
judge7 /
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 50
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <cmath>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);

    int n, m;
    cin >> n >> m;

    vector<int> a(n);
    for (int i = 0; i < n; i++) {
        cin >> a[i];
    }

    for (int i = 0; i < m; i++) {
        cout << a[i] << " \n"[i == m - 1];
    }

    return 0;
}
0