結果
問題 | No.687 E869120 and Constructing Array 1 |
ユーザー |
![]() |
提出日時 | 2018-05-18 22:21:08 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 443 ms |
コンパイル使用メモリ | 60,432 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-28 13:47:30 |
合計ジャッジ時間 | 1,134 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 6 |
ソースコード
#include <iostream> #include <vector> #include <string> #include <set> using namespace std; int main(){ int N; cin >> N; for(int i = 1;i <= 9;i++){ int j = N - i; if(1 <= j && j <= 9){ cout << i << " " << j << endl; } } }