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 9, 2026 17:55NicoNicoScore: 494,213Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 9, 2026 17:55487,96716,135,676,85816,000,959,000101,942,0002,408,448
2Feb 9, 2026 17:55489,94616,202,892,85516,073,261,00094,942,0002,277,376
3Feb 9, 2026 17:55489,99616,208,679,41316,065,950,000103,922,0002,297,856
4Feb 9, 2026 17:55492,16216,284,629,40316,136,395,000104,937,0002,396,160
5Feb 9, 2026 17:55494,21316,346,692,42716,210,110,00098,933,0002,273,280
6Feb 9, 2026 17:55494,87416,371,555,68516,219,921,000110,924,0002,461,696
7Feb 9, 2026 17:55495,70816,400,024,99016,251,421,000106,936,0002,465,792
8Feb 9, 2026 17:55498,52716,493,942,03716,329,454,000121,921,0002,457,600
9Feb 9, 2026 17:55499,64116,526,553,03616,395,209,00092,938,0002,461,696