Submission #82443


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
#include <bits/stdc++.h>
using namespace std;
int main() {
int a,b,c,d,e,f,mi,ma;
cin>>a>>b>>c>>d>>e>>f;
mi=min(a,b);
mi=min(mi,c);
mi=min(mi,d);
ma=max(e,f);
cout<<(a+b+c+d-mi)+ma;
return(0);
}

ステータス

項目 データ
問題 0257 - 科目選択 (Selecting Subjects)
ユーザー名 ei2341
投稿日時 2025-03-15 11:50:32
言語 C++
状態 Wrong Answer
得点 0
ソースコード長 223 Byte
最大実行時間 44 ms
最大メモリ使用量 624 KB

セット

セット 得点 Cases
1 INPUT1 0 / 1 *in1.txt
2 INPUT2 0 / 1 *in2.txt
3 INPUT3 0 / 1 *in3.txt
4 INPUT4 0 / 1 *in4.txt
5 INPUT5 0 / 1 *in5.txt

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
2016-yo-t1-in1.txt WA 44 ms 604 KB
1
2016-yo-t1-in2.txt WA 30 ms 448 KB
2
2016-yo-t1-in3.txt WA 24 ms 428 KB
3
2016-yo-t1-in4.txt WA 20 ms 400 KB
4
2016-yo-t1-in5.txt WA 17 ms 624 KB
5
2016-yo-t1-in_s1.txt WA 28 ms 600 KB
2016-yo-t1-in_s2.txt WA 30 ms 572 KB