Submission #00002


ソースコード

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
#include <stdio.h>
int main()
{
int min_p = 100000;
int min_d = 100000;
int a, b;
int i, j;
for (i = 0; i < 3; i++) {
scanf("%d", &a);
if (min_p > a) {
min_p = a;
}
}
for (i = 0; i < 2; i++) {
scanf("%d", &a);
if (min_d > a) {
min_d = a;
}
}
printf("%d\n", min_p + min_d - 50);
return 0;
}

ステータス

項目 データ
問題 0001 - ランチ (Lunch)
ユーザー名 428号室
投稿日時 2018-11-07 21:12:58
言語 C
状態 Accepted
得点 100
ソースコード長 436 Byte
最大実行時間 30 ms
最大メモリ使用量 504 KB

セット

セット 得点 Cases
1 set1 20 / 20 *1.txt
2 set2 20 / 20 *2.txt
3 set3 20 / 20 *3.txt
4 set4 20 / 20 *4.txt
5 set5 20 / 20 *5.txt

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
2012-yo-t1-in1.txt AC 30 ms 504 KB
1
2012-yo-t1-in2.txt AC 16 ms 308 KB
2
2012-yo-t1-in3.txt AC 24 ms 320 KB
3
2012-yo-t1-in4.txt AC 22 ms 396 KB
4
2012-yo-t1-in5.txt AC 30 ms 420 KB
5