結果
| 問題 |
No.857 素振り
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-08-09 21:26:32 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 204 bytes |
| コンパイル時間 | 427 ms |
| コンパイル使用メモリ | 63,104 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-19 11:08:43 |
| 合計ジャッジ時間 | 917 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
typedef long long int ll;
int main(){
ll x,y,z; cin >> x >> y >> z;
int ans=0;
if(x<=z)ans--;
if(x!=y&&y<=z)ans--;
cout << ans+z << endl;
}