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 listMar 6, 2026 22:53Pavel SamyginPavel SamyginScore: 16,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 6, 2026 22:5315,994556,945,036511,810,00015,994,0002,322,432
2Mar 6, 2026 22:5316,039557,700,049509,325,00019,973,0002,289,664
3Mar 6, 2026 22:5316,196562,933,717516,463,00018,016,0002,306,048
4Mar 6, 2026 22:5316,215565,156,110510,132,00024,957,0002,404,352
5Mar 6, 2026 22:5316,388573,190,551516,871,00023,947,0002,297,856
6Mar 6, 2026 22:5316,403569,605,741518,333,00022,970,0002,301,952
7Mar 6, 2026 22:5316,433573,526,345520,329,00021,971,0002,408,448
8Mar 6, 2026 22:5316,437572,998,712517,453,00024,973,0002,289,664
9Mar 6, 2026 22:5316,563568,154,326523,607,00022,982,0002,301,952