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