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 listDec 20, 2025 05:06Rajarshi BasuRajarshi BasuScore: 5,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 05:065,435203,832,152172,331,0007,013,0002,437,120
2Dec 20, 2025 05:055,437206,698,309174,405,0005,011,0002,412,544
3Dec 20, 2025 05:065,438206,611,783173,447,0006,015,0002,494,464
4Dec 20, 2025 05:055,439212,555,413174,510,0004,986,0002,281,472
5Dec 20, 2025 05:065,443209,073,941172,648,0006,985,0002,514,944
6Dec 20, 2025 05:055,452203,185,032175,933,0003,998,0002,510,848
7Dec 20, 2025 05:055,460208,304,878175,186,0005,005,0002,523,136
8Dec 20, 2025 05:065,461204,047,725177,204,0003,003,0002,334,720
9Dec 20, 2025 05:055,472202,760,754174,599,0005,986,0002,461,696
10Dec 20, 2025 05:065,473206,536,868173,638,0006,985,0002,428,928
11Dec 20, 2025 05:065,486207,834,781175,036,0006,001,0002,523,136
12Dec 20, 2025 05:055,491209,513,796178,196,0003,003,0002,514,944
13Dec 20, 2025 05:065,493207,181,666178,257,0003,004,0002,478,080
14Dec 20, 2025 05:065,494201,188,835176,294,0005,008,0002,342,912
15Dec 20, 2025 05:055,495216,405,335175,328,0006,011,0002,408,448
16Dec 20, 2025 05:065,502207,028,574175,593,0005,986,0002,453,504
17Dec 20, 2025 05:055,509210,676,060175,810,0005,993,0002,322,432
18Dec 20, 2025 05:065,526213,791,424176,359,0006,012,0002,514,944
19Dec 20, 2025 05:065,562211,680,023177,554,0005,984,0002,519,040
20Dec 20, 2025 05:055,575209,407,554178,983,0004,999,0002,502,656
21Dec 20, 2025 05:065,718211,881,120183,710,0004,992,0002,514,944
22Dec 20, 2025 05:065,732218,619,602183,166,0006,005,0002,433,024
23Dec 20, 2025 05:065,748212,443,106184,687,0004,991,0002,510,848
24Dec 20, 2025 05:065,751214,029,560185,800,0003,995,0002,281,472
25Dec 20, 2025 05:065,752212,365,200184,827,0004,995,0002,514,944
26Dec 20, 2025 05:065,773211,536,351185,511,0004,986,0002,379,776
27Dec 20, 2025 05:066,033221,933,159193,102,0006,003,0002,433,024