結果
問題 | No.796 well known |
ユーザー |
![]() |
提出日時 | 2019-03-15 22:27:48 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 593 ms |
コンパイル使用メモリ | 64,376 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-01 21:09:26 |
合計ジャッジ時間 | 3,869 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 15 |
ソースコード
#include <iostream> using namespace std; int main(){ int n; cin >> n; cout << 3 << " "; for(int i = 0; i < n-2; i++){ cout << 1 << " "; } cout << 3 - (3+(n-2) + 1)%3 + 1<< endl; }