結果
| 問題 | No.2041 E-mail Address |
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2022-08-20 13:47:13 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 483 bytes |
| 記録 | |
| コンパイル時間 | 264 ms |
| コンパイル使用メモリ | 40,008 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-09 06:40:44 |
| 合計ジャッジ時間 | 849 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 2041.cc: No.2041 E-mail Address - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* constant */
const int MAX_N = 100000;
/* typedef */
/* global variables */
char t[MAX_N + 4];
/* subroutines */
/* main */
int main() {
scanf("%s", t);
char *cpt = t;
while (*cpt != '(') putchar(*(cpt++));
while (*cpt != ')') cpt++;
putchar('@'); cpt++;
while (*cpt) putchar(*(cpt++));
putchar('\n');
return 0;
}
tnakao0123