結果
| 問題 |
No.1499 羊が、何匹だっけ
|
| コンテスト | |
| ユーザー |
betweens
|
| 提出日時 | 2021-05-20 06:22:16 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 461 bytes |
| コンパイル時間 | 595 ms |
| コンパイル使用メモリ | 67,584 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-10 07:10:26 |
| 合計ジャッジ時間 | 1,274 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 |
ソースコード
#include <iostream>
#include <vector>
#include <string>
typedef long long ll;
using namespace std;
template<typename H>
void print(H head) { cout << head << endl; }
template<typename H, typename... T>
void print(H&& head, T&&... tail){
std::cout << head << " ", print(std::forward<T>(tail)...);
}
int main()
{
std::string s1, s2, s3;
ll T, N;
cin >> T;
while (T--) {
cin >> s1 >> s2 >> N >> s3;
print(s1, s2, N+1, s3);
}
return 0;
}
betweens