Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:27:15: warning: 'jd2' may be used uninitialized in this function [-Wmaybe-uninitialized] if(i!=jd1&&i!=jd2) ~^~~~~ /in/foo.cc:27:7: warning: 'jd1' may be used uninitialized in this function [-Wmaybe-uninitialized] if(i!=jd1&&i!=jd2) ~^~~~~ /in/foo.cc:10:6: warning: 'tot' may be used uninitialized in this function [-Wmaybe-uninitialized] tot+=a[i]; ~~~^~~~~~