这是一个调试程序
#include<iostream> using namespace std; class Solution { public: void replaceSpace(char *str,int length) { if(str == NULL || length<=0) return; int length_origin = 0; int blank = 0; while(*str != '