結果

問題 No.700 LOVE
ユーザー takubokudori
提出日時 2018-10-31 16:37:15
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 216 bytes
コンパイル時間 396 ms
コンパイル使用メモリ 54,748 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-22 23:33:31
合計ジャッジ時間 1,086 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <string>
#include <iostream>
using namespace std;

int main(void){
    string s;
    while(cin>>s){
        if(s.find("LOVE")!=string::npos) return cout<<"YES"<<endl,0;
    }
    return cout<<"NO"<<endl,0;
}
0