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 18, 2023 05:40matsuoka-601matsuoka-601Score: 12,684Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 05:4010,333408,926,911340,974,70002,248,704
2Jun 18, 2023 05:4011,823461,998,422390,164,23402,240,512
3Jun 18, 2023 05:4011,930448,697,311393,688,12402,256,896
4Jun 18, 2023 05:4012,572446,653,143405,865,0008,997,0002,445,312
5Jun 18, 2023 05:4012,629440,082,080408,759,0007,995,0002,449,408
6Jun 18, 2023 05:4012,669448,060,455408,098,0009,977,0002,306,048
7Jun 18, 2023 05:4012,684448,723,708408,597,0009,990,0002,473,984
8Jun 18, 2023 05:4012,689443,339,778408,741,0009,993,0002,433,024
9Jun 18, 2023 05:4012,749447,276,426412,714,0007,994,0002,445,312
10Jun 18, 2023 05:4012,825447,108,177414,231,0008,983,0002,445,312
11Jun 18, 2023 05:4013,040458,997,176421,350,0008,986,0002,277,376
12Jun 18, 2023 05:4013,062456,893,261421,069,0009,977,0002,453,504