結果
問題 |
No.687 E869120 and Constructing Array 1
|
ユーザー |
![]() |
提出日時 | 2022-08-22 14:56:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 237 bytes |
コンパイル時間 | 1,952 ms |
コンパイル使用メモリ | 192,004 KB |
最終ジャッジ日時 | 2025-01-31 02:46:00 |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int long long signed main(){ int N; cin>>N; for(int i=1;i<=10;i++)for(int j=1;j<=10;j++){ if(i+j == N){ cout<<i<<' '<<j<<endl; return 0; } } }