0_0_37885945_31203.cpp: In function 'int main()':
0_0_37885945_31203.cpp:26:5: error: expected ';' before 'if'
i if (s2[i] == '1') sum2+= j;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdbool:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:56,
from 0_0_37885945_31203.cpp:1:
0_0_37885945_31203.cpp:28:1: error: expected ';' before 'bool'
bool flag = 0;
^
0_0_37885945_31203.cpp:37:18: error: 'flag' was not declared in this scope
flag = 1;
^
0_0_37885945_31203.cpp:42:15: error: 'flag' was not declared in this scope
if (!flag) printf("%lld\n", sum1 - sum2);
^
0_0_37885945_31203.cpp:50:1: error: expected '}' at end of input
}
^
|