結果

問題 No.1499 羊が、何匹だっけ
ユーザー Yourein
提出日時 2021-05-08 16:43:28
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 30 ms / 2,000 ms
コード長 406 bytes
コンパイル時間 690 ms
コンパイル使用メモリ 72,280 KB
最終ジャッジ日時 2025-01-21 09:18:22
ジャッジサーバーID
(参考情報)
judge3 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <vector>

using namespace std;

int main(){
    int t;
    cin >> t;

    vector<int> n(t);
    for (int i = 0; i < t; i++){
        string temp1, temp2, temp3;
        int ntemp;
        cin >> temp1 >> temp2 >> ntemp >> temp3;

        n[i] = ntemp;
    }

    for (int i = 0; i < t; i++){
        cout << "Hitsuji ga " << n[i]+1 << " hiki" << endl;
    }
}
0