Compiler output
prog.cpp: In function 'int main()':
prog.cpp:30:9: warning: 'lastj' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i == lasti && j == lastj && first) {
^
prog.cpp:26:9: warning: 'lasti' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i == lasti) {
^
prog.cpp: In function 'int main()':
prog.cpp:30:9: warning: 'lastj' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i == lasti && j == lastj && first) {
^
prog.cpp:26:9: warning: 'lasti' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i == lasti) {
^