結果
| 問題 |
No.2460 #強調#
|
| コンテスト | |
| ユーザー |
Manuel1024
|
| 提出日時 | 2023-11-28 18:47:50 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 249 bytes |
| コンパイル時間 | 747 ms |
| コンパイル使用メモリ | 64,316 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-26 13:02:42 |
| 合計ジャッジ時間 | 1,403 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
string s; cin >> s;
int cnt = 0;
for(auto &it: s){
if(it == '#') cnt++;
if(cnt == 1 && it != '#') cout << it;
}
cout << endl;
return 0;
}
Manuel1024