結果
問題 | No.254 文字列の構成 |
ユーザー |
|
提出日時 | 2018-07-10 22:44:56 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 201 bytes |
コンパイル時間 | 511 ms |
コンパイル使用メモリ | 63,104 KB |
実行使用メモリ | 8,576 KB |
最終ジャッジ日時 | 2024-09-13 23:38:05 |
合計ジャッジ時間 | 23,252 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | WA * 14 OLE * 2 -- * 14 |
ソースコード
#include <iostream> using namespace std; int main(int argc, char* argv[]) { int N; cin>>N; for (int i=1;i<N;i++){ if (i%2==0){ cout<<"b"; }else{ cout<<"a"; } } cout<<endl; return 0; }