Generation

generate functionMon, 06 Mar 2023

文字列 S , T が与えられるので、 T が S の部分文字列かどうかを判定してください。

// example String s = "abcdef"; String t = "bcd"; int index = s.indexOf(t); boolean contains = index >= 0;

Questions about programming?Chat with your personal AI assistant