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 27, 2026 22:20TudyMTudyMScore: 33,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 22:3033,2801,114,176,8821,083,269,00014,989,0002,306,048
2Apr 27, 2026 22:3033,5351,125,545,7161,093,691,00012,996,0002,318,336
3Apr 27, 2026 22:3033,5641,127,133,7271,093,622,00013,995,0002,551,808
4Apr 27, 2026 22:3033,6911,125,581,5741,096,831,00014,997,0002,293,760
5Apr 27, 2026 22:3033,6971,132,008,9761,095,033,00016,985,0002,293,760
6Apr 27, 2026 22:3033,6971,130,875,3421,097,025,00014,986,0002,293,760
7Apr 27, 2026 22:3033,7901,132,209,2741,101,087,00013,988,0002,289,664
8Apr 27, 2026 22:3033,7941,137,942,3081,097,241,00017,987,0002,310,144
9Apr 27, 2026 22:3034,1601,150,634,5521,113,328,00013,979,0002,293,760