結果
| 問題 |
No.784 「,(カンマ)」
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2020-01-08 01:58:38 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 208 bytes |
| コンパイル時間 | 594 ms |
| コンパイル使用メモリ | 64,000 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-23 01:55:59 |
| 合計ジャッジ時間 | 1,216 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 2 WA * 8 |
ソースコード
#include <iostream>
using namespace std;
int main(){
string s;cin>>s;
for(int i = 0; s.size() > i; i++){
if(!((s.size()-i)%3) && !i)cout << ",";
cout << s[i];
}
cout << endl;
}