input/code.cpp: In function 'int main()':
input/code.cpp:12:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int alku = 0; alku < ui.length(); alku++) {
~~~~~^~~~~~~~~~~~~
input/code.cpp:14:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int loppu = alku; loppu < ui.length(); loppu++) {
~~~~~~^~~~~~~~~~~~~
input/code.cpp:15:30: warning: comparison with string literal results in unspecified behavior [-Waddress]
if (ui[loppu] == "1") {
^~~
input/code.cpp:15:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]