Submission #82444
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 | #include <bits/stdc++.h> using namespace std; int main( void ) { 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:54:41 |
言語 | C++ |
状態 | Wrong Answer |
得点 | 0 |
ソースコード長 | 227 Byte |
最大実行時間 | 28 ms |
最大メモリ使用量 | 696 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 | 28 ms | 600 KB |
1
|
||||
2016-yo-t1-in2.txt | WA | 23 ms | 696 KB |
2
|
||||
2016-yo-t1-in3.txt | WA | 20 ms | 540 KB |
3
|
||||
2016-yo-t1-in4.txt | WA | 22 ms | 512 KB |
4
|
||||
2016-yo-t1-in5.txt | WA | 18 ms | 484 KB |
5
|
||||
2016-yo-t1-in_s1.txt | WA | 18 ms | 456 KB | |||||
2016-yo-t1-in_s2.txt | WA | 23 ms | 428 KB |