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 listApr 17, 2026 17:10Charles CabergsCharles CabergsScore: 73,628Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2026 17:1072,9552,441,124,7832,389,522,00017,988,0002,322,432
2Apr 17, 2026 17:1073,3562,450,550,5052,402,756,00017,990,0002,277,376
3Apr 17, 2026 17:1073,4012,457,659,0672,407,235,00014,995,0002,277,376
4Apr 17, 2026 17:1073,4922,454,426,7332,408,228,00016,994,0002,457,600
5Apr 17, 2026 17:1073,6282,463,012,7332,409,726,00019,989,0002,281,472
6Apr 17, 2026 17:1073,7822,465,975,5972,415,807,00018,990,0002,469,888
7Apr 17, 2026 17:1073,7882,458,921,8402,415,019,00019,991,0002,281,472
8Apr 17, 2026 17:1074,0492,473,277,6442,424,624,00018,989,0002,465,792
9Apr 17, 2026 17:1074,3302,483,887,7802,436,887,00015,992,0002,457,600