結果
| 問題 |
No.857 素振り
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-19 21:48:24 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 191 bytes |
| コンパイル時間 | 507 ms |
| コンパイル使用メモリ | 64,116 KB |
| 実行使用メモリ | 13,632 KB |
| 最終ジャッジ日時 | 2024-10-12 05:36:25 |
| 合計ジャッジ時間 | 3,080 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 2 TLE * 1 -- * 5 |
ソースコード
#include <iostream>
using namespace std;
int main(){
long long n,m,z,ans=0;
cin>>n>>m>>z;
for(int i=1;i<=z;i++){
if(i==m or i==n) ans+=0;
else ans+=1;
}
cout<<ans<<endl;
return 0;
}