結果
問題 |
No.687 E869120 and Constructing Array 1
|
ユーザー |
![]() |
提出日時 | 2020-06-03 22:56:31 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 293 bytes |
コンパイル時間 | 982 ms |
コンパイル使用メモリ | 80,692 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-26 07:50:11 |
合計ジャッジ時間 | 1,965 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 2 WA * 4 |
ソースコード
#include<iostream> #include<math.h> #include<string.h> #include<vector> #include<algorithm> #include<iomanip> #include<deque> using namespace std; int main(){ int n; cin >> n; int a=n,b=0; while(1){ if(a<=10 && b<=10)break; a--; b++; } cout << a << " " << b << endl; return 0; }