Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 listOct 3, 2024 22:27Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 3, 2024 23:1200000Error: No answer to stdout. Died or killed?stderr
2Oct 3, 2024 22:274,327129,795,294206,274,0003,003,0002,355,200
3Oct 3, 2024 22:274,330129,894,497204,325,0003,004,0002,367,488
4Oct 3, 2024 22:274,386131,574,223200,587,0006,985,0002,695,168
5Oct 3, 2024 22:274,411132,322,209211,492,0003,990,0002,572,288
6Oct 3, 2024 22:274,481134,425,999215,105,0006,002,0002,314,240
7Oct 3, 2024 22:274,511135,318,095215,237,0005,005,0002,666,496
8Oct 3, 2024 22:274,531135,929,314215,757,0003,995,0002,609,152
9Oct 3, 2024 22:274,545136,344,817204,712,0004,992,0002,654,208
10Oct 3, 2024 23:124,546136,380,544216,960,0005,998,0002,596,864
11Oct 3, 2024 22:274,556136,688,856220,762,0002,006,0002,605,056
12Oct 3, 2024 22:274,560136,801,550209,474,0005,011,0002,596,864
13Oct 3, 2024 23:124,565136,954,043218,245,0004,004,0002,359,296
14Oct 3, 2024 23:124,588137,638,104205,657,0005,990,0002,355,200
15Oct 3, 2024 22:274,619138,568,458216,319,0003,004,0002,654,208
16Oct 3, 2024 22:274,619138,580,834219,666,0005,990,0002,609,152
17Oct 3, 2024 22:274,621138,643,720219,562,0006,986,0002,670,592
18Oct 3, 2024 23:124,632138,946,810221,563,0003,992,0002,600,960
19Oct 3, 2024 22:274,645139,342,746217,919,0003,998,0002,670,592
20Oct 3, 2024 22:274,659139,761,557217,127,0005,002,0002,351,104
21Oct 3, 2024 22:274,667139,998,679218,897,0004,997,0002,596,864
22Oct 3, 2024 22:274,672140,168,564220,079,0005,024,0002,351,104
23Oct 3, 2024 23:124,678140,354,430217,615,0005,989,0002,596,864
24Oct 3, 2024 23:124,679140,367,677217,589,0005,988,0002,715,648
25Oct 3, 2024 22:274,684140,524,918216,969,0004,999,0002,592,768
26Oct 3, 2024 22:274,720141,607,177213,469,0005,985,0002,568,192
27Oct 3, 2024 22:274,740142,200,700218,763,0004,994,0002,666,496
28Oct 3, 2024 22:274,751142,530,571220,347,0004,006,0002,756,608
29Oct 3, 2024 22:274,763142,901,952222,708,0004,993,0002,375,680
30Oct 3, 2024 22:275,504165,108,260264,570,0005,990,0002,404,352
31Oct 3, 2024 22:275,593167,783,842265,936,0004,014,0002,498,560