結果
問題 |
No.857 素振り
|
ユーザー |
![]() |
提出日時 | 2019-08-21 14:44:47 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 301 bytes |
コンパイル時間 | 1,950 ms |
コンパイル使用メモリ | 193,128 KB |
最終ジャッジ日時 | 2025-01-07 14:33:04 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 2 WA * 6 |
ソースコード
#include <bits/stdc++.h> #define rep(i,n) for (int i =0;i < (n); ++i) using namespace std; typedef long long ll; int main() { int a,b,c; cin>>a>>b>>c; int ans=c; if (1<=a && a<=c) { ans--; } if (1<=b && b<=c) { ans--; } cout<<ans<<endl; return 0; }