結果
問題 |
No.857 素振り
|
ユーザー |
|
提出日時 | 2019-08-23 11:15:05 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 228 bytes |
コンパイル時間 | 1,328 ms |
コンパイル使用メモリ | 157,536 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-13 14:20:42 |
合計ジャッジ時間 | 1,666 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | WA * 8 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll x, y, z; cin>>x>>y>>z; ll n = x; if(x<=z) n -= 1; if(y<=z) n -= 1; cout<< n <<endl; return 0; }