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 26, 2026 20:07Alexander KrivolapovAlexander KrivolapovScore: 348,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2026 20:10345,17311,416,684,64111,215,850,000174,888,0002,527,232stderr
2Apr 26, 2026 20:10347,01611,476,047,00711,238,688,000212,861,0002,486,272stderr
3Apr 26, 2026 20:10347,83111,504,194,76611,245,603,000232,846,0002,469,888stderr
4Apr 26, 2026 20:10348,39811,529,695,25111,288,301,000208,857,0002,519,040stderr
5Apr 26, 2026 20:10348,47711,528,450,93511,267,899,000231,853,0002,428,928stderr
6Apr 26, 2026 20:10349,28311,551,945,38711,326,483,000199,867,0002,555,904stderr
7Apr 26, 2026 20:10350,31011,584,342,78811,336,412,000223,850,0002,547,712stderr
8Apr 26, 2026 20:10351,15311,612,882,80911,375,199,000212,854,0002,555,904stderr
9Apr 26, 2026 20:10353,40011,686,432,16511,436,367,000225,849,0002,473,984stderr