Submission #00011


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include<bits/stdc++.h>
#include<cmath>
#include<queue>
#include<algorithm>
#include<stack>
using namespace std;
using ll=long long;
using db=double;
typedef vector<int> vii;
typedef vector<ll> vll;
typedef vector<string> vstr;
typedef vector<bool> vbl;
int inf=(1LL<<31)-1;
int MOD=1000000007;
#define fi(a,b) for(int i=a;i<b;i++)
#define fj(a,b) for(int j=a;j<b;j++)
#define vvii(c,a,b) vector<vector<ii>> c(a,vector<ii>(b,0))
#define vvll(c,a,b) vector<vector<ll>> c(a,vector<ll>(b,0))
#define vvstr(c,a,b) vector<vectorM<string> c(a,vector<string>(b,0))
// const string name={"S","H","C","D"};
signed main()
{
int r,b,g,w;
cin >> r >> b >> w >> g;
cout << r+b+w+g << endl;
return(0);
}

ステータス

項目 データ
問題 0001 - 柴犬の数
ユーザー名 syoridu
投稿日時 2020-08-17 09:01:47
言語 C++11
状態 Accepted
得点 3
ソースコード長 743 Byte
最大実行時間 22 ms
最大メモリ使用量 728 KB

セット

セット 得点 Cases
1 ALL 3 / 3 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1 AC 16 ms 348 KB
1
in2 AC 17 ms 416 KB
1
in3 AC 16 ms 388 KB
1
in4 AC 22 ms 488 KB
1
in5 AC 19 ms 460 KB
1
in6 AC 21 ms 556 KB
1
in7 AC 21 ms 528 KB
1
in8 AC 16 ms 628 KB
1
in9 AC 18 ms 728 KB
1
in10 AC 17 ms 444 KB
1