Submission #00079


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main()
{
int a, b, n;
cin >> a >> b >> n;
if(n < 0) cout << a - b << endl;
else cout << a + b << endl;
return (0);
}

ステータス

項目 データ
問題 0001 - 眠れる獅子の油断
ユーザー名 Eraim Unit
投稿日時 2017-07-14 16:37:20
言語 C++11
状態 Accepted
得点 10
ソースコード長 226 Byte
最大実行時間 18 ms
最大メモリ使用量 556 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
01.txt AC 11 ms 480 KB
1
02.txt AC 18 ms 452 KB
1
03.txt AC 11 ms 556 KB
1
04.txt AC 13 ms 532 KB
1
05.txt AC 14 ms 380 KB
1