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 11, 2026 07:51Victor MerckléVictor MerckléScore: 61,185Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2026 07:5260,8822,018,963,8661,984,140,00024,977,0002,117,632stderr
2May 11, 2026 07:5261,1052,025,550,6021,991,897,00024,594,0002,117,632stderr
3May 11, 2026 07:5261,1122,026,395,3611,991,685,00025,038,0002,117,632stderr
4May 11, 2026 07:5261,1632,027,235,6171,993,761,00024,622,0002,117,632stderr
5May 11, 2026 07:5261,1852,028,394,6041,994,251,00024,869,0002,117,632stderr
6May 11, 2026 07:5261,2532,031,044,1111,996,659,00024,720,0002,117,632stderr
7May 11, 2026 07:5261,7272,045,778,8272,012,354,00024,667,0002,117,632stderr
8May 11, 2026 07:5261,8232,049,473,1502,015,197,00024,980,0002,117,632stderr
9May 11, 2026 07:5261,8412,051,740,5372,015,465,00025,298,0002,117,632stderr