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 listJun 30, 2024 13:51Robert BurkeRobert BurkeScore: 7,164Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:516,713278,454,651221,521,68402,269,184
2Jun 30, 2024 13:516,798282,636,526224,342,15502,285,568
3Jun 30, 2024 13:516,813281,517,353224,839,32402,277,376
4Jun 30, 2024 13:517,107255,924,148228,546,0005,988,0002,486,272
5Jun 30, 2024 13:517,129261,857,217230,255,0005,005,0002,322,432
6Jun 30, 2024 13:517,144257,426,545230,773,0004,995,0002,469,888
7Jun 30, 2024 13:517,164261,895,391231,422,0004,987,0002,359,296
8Jun 30, 2024 13:517,197263,386,552233,515,0003,991,0002,363,392
9Jun 30, 2024 13:517,218263,944,572233,195,0005,004,0002,297,856
10Jun 30, 2024 13:517,230262,393,314234,591,0003,993,0002,359,296
11Jun 30, 2024 13:517,259272,829,436235,562,0003,992,0002,457,600
12Jun 30, 2024 13:517,286268,168,994234,447,0005,985,0002,371,584