2 problems pushed

1129.cpp 1154.cpp(from 1154.c)