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 listFeb 11, 2026 15:08NicoNicoScore: 98,865Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 11, 2026 15:0897,8603,259,963,8923,208,388,00020,989,0002,347,008
2Feb 11, 2026 15:0898,1943,269,312,7303,218,425,00021,989,0002,277,376
3Feb 11, 2026 15:0898,4093,279,896,9543,230,521,00016,992,0002,277,376
4Feb 11, 2026 15:0898,6203,285,555,3403,237,462,00016,991,0002,416,640
5Feb 11, 2026 15:0898,8653,291,253,6963,243,549,00018,991,0002,465,792
6Feb 11, 2026 15:0898,8783,293,583,2393,246,987,00015,990,0002,420,736
7Feb 11, 2026 15:0899,5063,311,765,1933,267,698,00015,988,0002,469,888
8Feb 11, 2026 15:0899,8003,320,867,4953,274,425,00018,985,0002,412,544
9Feb 11, 2026 15:08100,7623,355,786,3553,307,169,00017,984,0002,277,376