Submission #73883


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
#include<bits/stdc++.h>
#define ll long long
#define endl "\n"
using namespace std;
// strlen(n); nの文字数を取得
int main(){
int p;
cin >> p;
cout << p * 1.1 - p * 1.08 << endl;
return(0);
}

ステータス

項目 データ
問題 1450 - ケーキの価格
ユーザー名 ei2212
投稿日時 2022-11-04 17:16:57
言語 C++17
状態 Accepted
得点 2
ソースコード長 226 Byte
最大実行時間 30 ms
最大メモリ使用量 700 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1 AC 21 ms 600 KB
1
in2 AC 17 ms 700 KB
1
in3 AC 24 ms 548 KB
1
in4 AC 17 ms 524 KB
1
in5 AC 22 ms 496 KB
1
in6 AC 22 ms 596 KB
1
in7 AC 18 ms 440 KB
1
in8 AC 30 ms 408 KB
1