Code: Select all
#include
#include
#include
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int n;
cin >> n;
while (n--) {
string word;
cin >> word;
if (word.length() > 10) {
coutCode: Select all
#include
#include
#include
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int n;
cin >> n;
while (n--) {
string word;
cin >> word;
if (word.length() > 10) {
cout