Submission #25428
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #include<bits/stdc++.h> #define NO string::npos using namespace std; int main() { int n; cin>> n; string str; for ( int i = 0; i < n; i++) { cin>> str; if (str.find( "114514" ) != NO || str.find( "1919" ) != NO || str.find( "YJ" ) != NO || str.find( "364364" ) != NO || str.find( "tdn" ) != NO) { cout<< "summer night dream" <<endl; } else { cout<< "nonke" <<endl; } } return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0819 - 野獣の日 |
ユーザー名 | ei1538 |
投稿日時 | 2017-08-28 09:33:37 |
言語 | C++ |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 476 Byte |
最大実行時間 | 12 ms |
最大メモリ使用量 | 540 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
cin1.txt | AC | 11 ms | 476 KB |
1
|
cin2.txt | AC | 12 ms | 444 KB |
1
|
cin3.txt | AC | 9 ms | 540 KB |
1
|
cin4.txt | AC | 12 ms | 512 KB |
1
|
cin5.txt | AC | 12 ms | 488 KB |
1
|