結果
問題 |
No.2460 #強調#
|
ユーザー |
|
提出日時 | 2023-09-08 23:52:52 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 200 bytes |
コンパイル時間 | 1,969 ms |
コンパイル使用メモリ | 193,668 KB |
最終ジャッジ日時 | 2025-02-16 20:27:24 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; int f = 0; string ans; for(char c : s) { if(c == '#') f++; else if(f == 1) ans += c; } cout << ans << endl; }