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 listApr 29, 2026 15:03olliecrowolliecrowScore: 31,829Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2026 15:0431,5601,059,472,4091,024,508,00016,991,0002,449,408
2Apr 29, 2026 15:0431,6901,064,570,1141,026,803,00018,996,0002,523,136
3Apr 29, 2026 15:0431,7301,065,616,0321,035,114,00012,001,0002,445,312
4Apr 29, 2026 15:0431,7431,065,420,3211,032,545,00014,993,0002,383,872
5Apr 29, 2026 15:0431,8291,070,012,7091,034,378,00015,990,0002,445,312
6Apr 29, 2026 15:0431,8731,073,383,7901,034,823,00016,997,0002,383,872
7Apr 29, 2026 15:0432,0921,074,549,2101,040,045,00019,000,0002,445,312
8Apr 29, 2026 15:0432,6451,097,641,5881,054,320,00022,985,0002,437,120
9Apr 29, 2026 15:0432,8051,102,096,0941,058,582,00023,990,0002,375,680