Submission #25440


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include<bits/stdc++.h>
using namespace std;
main(){
string a[]={"114514","1919","YJ","364364","tdn"},s;
int n,f;
cin>>n;
for(int i=0;i<n;i++){
cin>>s;
f=0;
for(int j=0;j<5;j++){
if((int)(s.find(a[j]))!=-1){
f=1;
break;
}
}
if(f)cout<<"summer night dream"<<endl;
else cout<<"nonke"<<endl;
}
}

ステータス

項目 データ
問題 0819 - 野獣の日
ユーザー名 ei1516
投稿日時 2017-08-28 09:50:25
言語 C++
状態 Accepted
得点 1
ソースコード長 360 Byte
最大実行時間 12 ms
最大メモリ使用量 532 KB

セット

セット 得点 Cases
1 ALL 1 / 1 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
cin1.txt AC 11 ms 480 KB
1
cin2.txt AC 12 ms 452 KB
1
cin3.txt AC 11 ms 428 KB
1
cin4.txt AC 9 ms 532 KB
1
cin5.txt AC 10 ms 512 KB
1