人気

あ
#include
#include
#include
using namespace std;
bool isPalindrome(const char* str){
return true;
}
int main(){
string x;
while (getline(cin,x)) {
cout << isPalindrome(x.c_str()) << endl;
}

たら
何が間違いなのかわからない
タスケテ🆘
#include
using namespace std;
int count(const char word_list[], char characters[], int frequencies[], int& node_count) {
node_count = 0;
for (int i = 0; word_list[i] != '\0'; i++) {
char ch = word_list[i];
bool found = false;
for (int j = 0; j < node_count; j++) {
if (characters[j] == ch) {
frequencies[j]++;
found = true;
break;
}
}
if (!found) {
characters[node_count] = ch;
frequencies[node_count] = 1;
node_count++;
}
}
return node_count;
}
関連検索ワード
おすすめのクリエーター