結果
問題 |
No.3163 [Cherry 7th Tune N] Draft
|
ユーザー |
![]() |
提出日時 | 2025-09-15 22:03:46 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 210 bytes |
コンパイル時間 | 3,013 ms |
コンパイル使用メモリ | 275,428 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-09-15 22:04:32 |
合計ジャッジ時間 | 3,649 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int T; cin >> T; while(T--){ int a[5]; for(auto &x:a) cin >> x; cout << *max_element(a, a+5) - *min_element(a, a+5) << endl; } }