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 29, 2026 14:59TudyMTudyMScore: 24,842Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2026 15:0024,653831,028,500787,565,00025,985,0002,494,464
2Apr 29, 2026 15:0024,707833,399,654794,370,00020,983,0002,539,520
3Apr 29, 2026 15:0024,725834,694,606790,941,00024,998,0002,543,616
4Apr 29, 2026 15:0024,800839,727,517794,423,00023,982,0002,306,048
5Apr 29, 2026 15:0024,842840,219,202799,811,00019,995,0002,535,424
6Apr 29, 2026 15:0024,866837,282,278798,611,00021,989,0002,551,808
7Apr 29, 2026 15:0024,880837,866,473796,060,00025,001,0002,543,616
8Apr 29, 2026 15:0024,893851,961,549799,505,00021,986,0002,543,616
9Apr 29, 2026 15:0025,380857,172,394812,579,00024,987,0002,420,736