Submission #00027
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #include <bits/stdc++.h> using namespace std; #define lli long long int #define REP(i,s,n) for(int i=s;i<n;i++) #define MOD 1000000007 #define NUM 2520 #define INF (1LL<<50) #define DEBUG 0 #define mp(a,b) make_pair(a,b) #define SORT(V) sort(V.begin(),V.end()) #define PI (3.141592653589794) signed main(){ lli n,m,d; cin>>n>>m>>d; lli eat = m*d; cout<<min(eat,n)<<endl; return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0001 - Eating NAMEKUZI |
ユーザー名 | ohuton_labo |
投稿日時 | 2020-03-02 21:01:52 |
言語 | C++17 |
状態 | Accepted |
得点 | 100 |
ソースコード長 | 416 Byte |
最大実行時間 | 28 ms |
最大メモリ使用量 | 672 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 100 / 100 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in01.txt | AC | 18 ms | 476 KB |
1
|
in02.txt | AC | 24 ms | 572 KB |
1
|
in03.txt | AC | 20 ms | 672 KB |
1
|
in04.txt | AC | 21 ms | 516 KB |
1
|
in05.txt | AC | 25 ms | 488 KB |
1
|
in06.txt | AC | 16 ms | 460 KB |
1
|
in07.txt | AC | 15 ms | 432 KB |
1
|
in08.txt | AC | 16 ms | 528 KB |
1
|
in09.txt | AC | 17 ms | 376 KB |
1
|
in10.txt | AC | 26 ms | 476 KB |
1
|
in11.txt | AC | 21 ms | 448 KB |
1
|
in12.txt | AC | 19 ms | 552 KB |
1
|
in13.txt | AC | 18 ms | 528 KB |
1
|
in14.txt | AC | 20 ms | 628 KB |
1
|
in15.txt | AC | 22 ms | 600 KB |
1
|
in16.txt | AC | 28 ms | 572 KB |
1
|
sample01.txt | AC | 20 ms | 544 KB |
1
|
sample02.txt | AC | 18 ms | 512 KB |
1
|