結果

問題 No.1499 羊が、何匹だっけ
ユーザー たらこたらこ
提出日時 2021-05-07 22:49:03
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 1,000 bytes
コンパイル時間 3,470 ms
コンパイル使用メモリ 226,852 KB
実行使用メモリ 4,368 KB
最終ジャッジ日時 2023-10-13 14:06:41
合計ジャッジ時間 4,167 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,352 KB
testcase_01 AC 2 ms
4,352 KB
testcase_02 AC 2 ms
4,352 KB
testcase_03 AC 2 ms
4,352 KB
testcase_04 AC 1 ms
4,352 KB
testcase_05 AC 1 ms
4,352 KB
testcase_06 AC 1 ms
4,352 KB
testcase_07 AC 1 ms
4,352 KB
testcase_08 AC 2 ms
4,348 KB
testcase_09 AC 1 ms
4,348 KB
testcase_10 AC 2 ms
4,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll=long long;
using ld=long double;
#define rep(i,n) for(int i=0;i<n;i++)
#define vi vector<int>
#define vll vector<ll>
#define vd vector<double>
#define vld vector<ld>
#define vs vector<string>
#define vc vector<char>
#define pll pair<ll,ll>
#define fi first
#define se second
#define all(v) v.begin(),v.end()
#define MAX(v) *max_element(all(v))
#define MIN(v) *min_element(all(v))
#define sor(v) sort(all(v))
#define rev(v) reverse(all(v))
#define zip(v) sor(v),v.erase(unique(all(v)),v.end())
#define coutdouble(a,b) cout<<fixed<<setprecision(a)<<double(b)<<endl
void YesNo(bool a){cout<<(a?"Yes":"No")<<'\n';}
void YESNO(bool a){cout<<(a?"YES":"NO")<<'\n';}
const int inf=1e9;
const ll INF=1e18;
const ll mod=998244353;
const ll MOD=1e9+7;

int main(){
  int t;
  cin>>t;
  for(int i=0;i<t;i++){
    string a,b,c;
    int n;
    cin>>a>>b>>n>>c;
    cout<<a<<" "<<b<<" "<<n+1<<" "<<c<<endl;
  }
}
0