結果
| 問題 |
No.857 素振り
|
| コンテスト | |
| ユーザー |
ui_mtc
|
| 提出日時 | 2019-09-27 16:38:50 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 1,441 ms |
| コンパイル使用メモリ | 166,096 KB |
| 実行使用メモリ | 13,756 KB |
| 最終ジャッジ日時 | 2024-09-24 07:57:51 |
| 合計ジャッジ時間 | 3,976 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 2 TLE * 1 -- * 5 |
ソースコード
#include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int X, Y, Z;
cin >> X >> Y >> Z;
int ans = 0;
for( int i = 1; i <= Z; i++ ){
if( i == X || i == Y ){
continue;
}else{
ans++;
}
}
cout << ans << endl;
}
ui_mtc