如何调试在OJ中的代码
在OJ上的原始程序:
class Solution { public: void replaceSpace(char *str,int length) {if(str == NULL || length<=0) return; int length_origin = 0; int blank = 0; while(*str != '
在OJ上的原始程序:
class Solution { public: void replaceSpace(char *str,int length) {if(str == NULL || length<=0) return; int length_origin = 0; int blank = 0; while(*str != '