I tried to convert it like this, but in what is the error.
int num[] = new int[s.length]; for(int i=0; i<s.length(); i++) { num[i] = (Integer)s.charAt(i+1); } I tried to convert it like this, but in what is the error.
int num[] = new int[s.length]; for(int i=0; i<s.length(); i++) { num[i] = (Integer)s.charAt(i+1); } Integer. parseInt (String s)
Source: https://ru.stackoverflow.com/questions/269939/
All Articles