結果
問題 |
No.784 「,(カンマ)」
|
ユーザー |
|
提出日時 | 2020-08-17 16:07:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 174 bytes |
コンパイル時間 | 720 ms |
コンパイル使用メモリ | 63,232 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-11 11:05:27 |
合計ジャッジ時間 | 1,471 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 3 WA * 7 |
ソースコード
#include <iostream> #include <string> using namespace std; int main(){ string n; cin >> n; for(int i=3;i<n.size();i+=3){ n.insert(i,","); } cout<<n<<endl; return 0; }