結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-01-02 14:44:22 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 457 bytes |
| コンパイル時間 | 557 ms |
| コンパイル使用メモリ | 68,864 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-19 07:32:38 |
| 合計ジャッジ時間 | 999 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 1 WA * 7 |
ソースコード
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <stdio.h>
#include <cstring>
#include <queue>
#include <stack>
#include <functional>
using namespace std;
#define Would
#define you
int main() {
int k[10];
for (int i = 0; i < 9; ++i) {
cin >> k[i];
if (i == 0 && k[i] == 2) {
cout << 1 << endl;
return 0;
}
if (k[i] - 1 != k[i - 1]) {
cout << k[i - 1] << endl;
}
}
}