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 listJun 28, 2026 05:46Victor MerckléVictor MerckléScore: 92,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2026 05:4791,2263,018,575,0852,991,509,00018,972,0002,117,632stderr
2Jun 28, 2026 05:4791,2343,018,890,9562,992,273,00018,472,0002,117,632stderr
3Jun 28, 2026 05:4791,8393,038,929,4323,012,280,00018,430,0002,117,632stderr
4Jun 28, 2026 05:4791,9833,043,847,9663,016,488,00018,964,0002,117,632stderr
5Jun 28, 2026 05:4792,1653,049,832,3243,022,504,00018,971,0002,117,632stderr
6Jun 28, 2026 05:4792,1823,050,044,2893,022,820,00019,205,0002,117,632stderr
7Jun 28, 2026 05:4792,1863,050,069,6793,023,934,00018,233,0002,117,632stderr
8Jun 28, 2026 05:4792,4643,059,682,1163,032,569,00018,759,0002,117,632stderr
9Jun 28, 2026 05:4792,7093,067,852,8013,039,957,00019,465,0002,117,632stderr