#include "Q1-VerifyUniqueCharInString.h"
#include <cstring>
#include <stdio.h>
#include <string.h>
using namespace std;
bool isUniqueChar(string str)
{
int length=strlen(str),i=0;
bool tab[] = new bool[length];
if (length > 0xff) {
return false;
}
for (; i<length;++i) {
if (str[i]) {
return false;
}
tab[str[i]]=true;
}
return true;
}
이 내 코드, 그리고 내가 GCC + 엑스 코드를 사용 .... 항상 존재하는 이유는 두 CString을를 사용하는, 내가 나 strlen 찾을 수없는 이야기 ...어떤 일이 내가 나 strlen 찾을 수없는 이유를 포함 문제가()