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 2, 2026 12:01zielajzielajScore: 3,425Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 11:433,393133,575,060109,962,0001,999,0002,408,448
2Jan 2, 2026 11:433,398134,738,168111,125,0001,001,0002,408,448
3Jan 2, 2026 11:433,400132,762,703109,211,0003,005,0002,273,280
4Jan 2, 2026 12:013,403136,309,014110,306,0002,005,0002,412,544
5Jan 2, 2026 11:503,417142,608,791109,773,0002,993,0002,416,640
6Jan 2, 2026 11:433,420136,126,841111,864,000998,0002,404,352
7Jan 2, 2026 11:433,420136,970,337109,867,0002,996,0002,424,832
8Jan 2, 2026 11:433,425137,767,245111,033,0002,000,0002,424,832
9Jan 2, 2026 11:433,432133,622,037111,254,0002,004,0002,273,280
10Jan 2, 2026 11:433,433133,006,028110,287,0003,007,0002,416,640
11Jan 2, 2026 11:503,434131,584,815111,314,0002,005,0002,420,736
12Jan 2, 2026 12:013,435133,152,357110,333,0003,009,0002,535,424
13Jan 2, 2026 11:503,439138,124,452111,495,0002,008,0002,416,640
14Jan 2, 2026 12:013,512138,214,131113,889,0001,998,0002,535,424
15Jan 2, 2026 11:433,544136,143,849114,969,0001,999,0002,535,424