結果
| 問題 |
No.1499 羊が、何匹だっけ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-09 12:56:13 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 484 bytes |
| コンパイル時間 | 935 ms |
| コンパイル使用メモリ | 94,452 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-24 11:40:08 |
| 合計ジャッジ時間 | 1,539 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 |
ソースコード
#include<iostream>
#include<algorithm>
#include<string>
#include<math.h>
#include<bitset>
#include <vector>
#include<bitset>
#include <iomanip>
#include <map>
#include <set>
#include <stack>
#include <deque>
#include <climits>
#include <queue>
using namespace std;
int main() {
int N;
cin >> N;
for (int i = 1; i <= N; i++) {
string S[20];
cin >> S[1]>>S[2]>>S[3]>>S[4];
int D=stoi(S[3]);
D++;
cout << S[1] << " " << S[2] << " " << D << " " << S[4] << endl;
}
}