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 listOct 30, 2026 21:51Andrew EpsteinAndrew EpsteinScore: 53,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 21:5252,7701,753,478,5121,731,946,0009,478,0002,121,728stderr
2Oct 30, 2026 21:5252,7711,752,721,1541,732,064,0009,393,0002,121,728stderr
3Oct 30, 2026 21:5252,7891,753,085,2611,732,430,0009,629,0002,121,728stderr
4Oct 30, 2026 21:5252,8451,754,936,6351,734,283,0009,611,0002,121,728stderr
5Oct 30, 2026 21:5253,1261,764,700,1701,743,859,0009,325,0002,121,728stderr
6Oct 30, 2026 21:5253,1411,764,731,4481,744,270,0009,413,0002,121,728stderr
7Oct 30, 2026 21:5253,4541,774,928,9311,754,504,0009,487,0002,121,728stderr
8Oct 30, 2026 21:5253,6031,779,905,4871,759,476,0009,455,0002,121,728stderr
9Oct 30, 2026 21:5253,6541,782,019,8281,761,140,0009,450,0002,121,728stderr