#includevoid main() { int i = 1; int total = 100; while((total-i) > 0 ) { i ++; total = total -i; } printf("%d天能偷完,剩%d", i -1 , total);}