Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listMay 14, 2026 23:47Josu San MartinJosu San MartinError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2026 23:480126,040,072114,949,0001,017,0002,113,536expected "1021341 ", got "1021340 "
2May 14, 2026 23:483,497127,145,155114,385,0001,021,0002,113,536
3May 14, 2026 23:483,500124,262,663113,515,0002,012,0002,113,536
4May 14, 2026 23:483,500126,101,318114,488,0001,018,0002,113,536
5May 14, 2026 23:483,501127,297,073114,546,0001,010,0002,113,536
6May 14, 2026 23:483,506127,465,204113,651,0002,053,0002,113,536
7May 14, 2026 23:483,509126,887,279113,786,0002,016,0002,113,536
8May 14, 2026 23:483,524126,328,046114,288,0002,021,0002,113,536
9May 14, 2026 23:483,530128,212,108114,477,0002,034,0002,113,536