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 listJan 11, 2025 01:20Ian MckibbenIan MckibbenScore: 30,613Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2025 01:1830,4941,033,709,609869,390,000136,904,0002,277,376
2Jan 11, 2025 01:2030,5201,038,890,309875,277,000131,891,0002,334,720
3Jan 11, 2025 01:1830,5271,032,255,376869,468,000137,915,0002,408,448
4Jan 11, 2025 01:1830,5541,031,609,716860,377,000147,892,0002,322,432
5Jan 11, 2025 01:2030,5701,035,978,268862,848,000145,974,0002,408,448
6Jan 11, 2025 01:2030,5711,035,929,719870,871,000137,979,0002,326,528
7Jan 11, 2025 01:1830,6011,038,196,744861,844,000147,973,0002,404,352
8Jan 11, 2025 01:2030,6081,036,683,045863,213,000146,866,0002,408,448
9Jan 11, 2025 01:1830,6111,037,431,048858,302,000151,876,0002,330,624
10Jan 11, 2025 01:1830,6131,035,851,801890,328,000119,909,0002,289,664
11Jan 11, 2025 01:1830,6281,034,870,985857,754,000152,956,0002,375,680
12Jan 11, 2025 01:2030,6801,034,151,861870,507,000141,919,0002,334,720
13Jan 11, 2025 01:1830,6861,036,622,956884,694,000127,955,0002,326,528
14Jan 11, 2025 01:1830,7341,041,008,984888,314,000125,902,0002,404,352
15Jan 11, 2025 01:2030,7351,041,134,508884,341,000129,903,0002,326,528
16Jan 11, 2025 01:2030,7921,043,284,731867,274,000148,875,0002,334,720
17Jan 11, 2025 01:2030,7971,041,351,065873,409,000142,903,0002,498,560
18Jan 11, 2025 01:2030,8501,043,765,535871,176,000146,861,0002,281,472