0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-14 03:58:48 +00:00
OI-codes/Luogu/B2120/B2120.js

11 lines
208 B
JavaScript

const fs = require('fs');
let str = fs.readFileSync(0).toString().replace(/\s+/g, ' ').split(' ');
let ans = [];
str.forEach((word) => {
ans.push(word.length);
});
process.stdout.write(ans.join(','));