結果
問題 | No.1883 SLASH |
ユーザー |
![]() |
提出日時 | 2022-03-26 17:28:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 381 bytes |
コンパイル時間 | 927 ms |
コンパイル使用メモリ | 96,832 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-15 09:19:34 |
合計ジャッジ時間 | 1,554 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 13 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <functional> #include <queue> #include <map> #include <cmath> #include <iomanip> #include <set> #include <cstdio> #include <string> using namespace std; int main() { vector<int> a(3); for (int i = 0; i < 3; i++) { cin >> a[i]; } sort(a.begin(), a.end()); cout << a[2] - a[0] << endl; return 0; }