結果
| 問題 |
No.857 素振り
|
| コンテスト | |
| ユーザー |
dgd1724
|
| 提出日時 | 2019-09-25 06:44:11 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 332 bytes |
| コンパイル時間 | 394 ms |
| コンパイル使用メモリ | 58,064 KB |
| 実行使用メモリ | 13,888 KB |
| 最終ジャッジ日時 | 2024-09-19 20:18:11 |
| 合計ジャッジ時間 | 2,798 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 2 TLE * 1 -- * 5 |
ソースコード
#include <fstream>
#include <iostream>
#include <utility>
int main() {
//std::ifstream inf("Text.txt"); std::cin.rdbuf(inf.rdbuf());
long long int X, Y, Z;
std::cin >> X >> Y >> Z;
long long int ans = 0;
for (long long int i = 1; i <= Z; i++) {
if (i != X && i != Y) {
ans++;
}
}
std::cout << ans << std::endl;
}
dgd1724