結果
問題 |
No.857 素振り
|
ユーザー |
|
提出日時 | 2019-08-18 14:30:28 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 270 bytes |
コンパイル時間 | 558 ms |
コンパイル使用メモリ | 66,060 KB |
最終ジャッジ日時 | 2025-01-07 14:11:05 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 2 WA * 6 |
ソースコード
#include <iostream> using namespace std; int main() { int x, y, z; cin >> x >> y >> z; int c = 0; for (int i = 1; i <= z; i++) { if (i == x || i == y) { continue; } c++; } cout << c << endl; return 0; }