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 listOct 12, 2026 14:33highload-churnerhighload-churnerScore: 10,430Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2026 14:3410,380351,570,679336,431,0006,121,00024,576
2Oct 12, 2026 14:3410,384351,792,881336,636,0006,044,00024,576
3Oct 12, 2026 14:3410,424352,942,740337,944,0006,061,00024,576
4Oct 12, 2026 14:3410,429353,111,519338,097,0006,066,00024,576
5Oct 12, 2026 14:3410,430353,287,535338,109,0006,085,00024,576
6Oct 12, 2026 14:3410,467354,365,721339,303,0006,124,00024,576
7Oct 12, 2026 14:3410,491355,178,168340,086,0006,136,00024,576
8Oct 12, 2026 14:3410,607359,257,707343,943,0006,114,00024,576
9Oct 12, 2026 14:3410,644360,265,674345,154,0006,118,00024,576