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 listAug 11, 2025 20:11Leon ZhaoLeon ZhaoScore: 47,142Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2025 20:1146,5991,570,872,8671,405,953,000131,808,0002,437,120
2Aug 11, 2025 20:1146,8301,571,703,5821,419,522,000125,868,0002,437,120
3Aug 11, 2025 20:1146,8721,579,027,4131,419,969,000126,818,0002,338,816
4Aug 11, 2025 20:1146,9261,581,755,6391,412,774,000135,786,0002,437,120
5Aug 11, 2025 20:1147,1421,586,951,7751,435,877,000119,822,0002,420,736
6Aug 11, 2025 20:1147,1791,586,240,0681,424,078,000132,820,0002,437,120
7Aug 11, 2025 20:1147,8131,602,473,4661,452,995,000124,827,0002,277,376
8Aug 11, 2025 20:1147,8571,621,148,4601,449,428,000129,859,0002,449,408
9Aug 11, 2025 20:1147,9041,610,958,7371,447,008,000133,815,0002,273,280