What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-21 08:55:11
aibohp solution
#include <iostream> #include <string> #include <cstring> #include <algorithm> using namespace std; long int lcs(string s1,string s2) { long int a[7000][7000]; long int i,j; &... Add solution -
C++ 2021-11-21 05:54:20
create a string of length c++
// string::length #include <iostream> #include <string> int main () { std::string str ("Test string"); std::cout << "The size of str is " << str.length() << " bytes.\n"; return 0; } Add solution -
Java 2021-11-17 20:26:12
spannable string in android java for color
String text2 = text + CepVizyon.getPhoneCode() + "\n\n" + getText(R.string.currentversion) + CepVizyon.getLicenseText(); Spannable spannable = new SpannableString(text2); spannable.setSpan(new ForegroundColorSpan(Color.WHITE), text... Add solution -
Java 2021-11-15 04:42:26
codingbat java string 2 xyzthere
public boolean xyzThere(String str) { int flag=0; for(int i=0;i<str.length()-2;i++){ if (str.substring(i,i+2).compareTo("xy")==0 & str.substring(i+1,i+3).compareTo("yz")==0){ if ((i-1)>=0){ if (str.charA... Add solution
Best helpers
Ranking is empty