Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listAug 4, 2024 02:08eternalhopeeternalhopeScore: 5,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 02:085,47034,115,32917,504,00002,289,664
2Aug 4, 2024 02:085,47235,233,01616,480,0001,030,0002,273,280
3Aug 4, 2024 02:085,47635,035,91817,523,00002,289,664
4Aug 4, 2024 02:085,48442,234,14017,548,00002,289,664
5Aug 4, 2024 02:085,49139,857,86317,570,00002,523,136
6Aug 4, 2024 02:085,51346,069,88716,605,0001,037,0002,289,664
7Aug 4, 2024 02:085,51340,350,88816,606,0001,037,0002,269,184
8Aug 4, 2024 02:085,52743,991,97616,647,0001,040,0002,269,184
9Aug 4, 2024 02:085,58342,529,18316,872,000992,0002,289,664
10Aug 4, 2024 02:085,74679,809,63718,388,20302,301,952
11Aug 4, 2024 02:085,74789,378,98118,389,26402,301,952
12Aug 4, 2024 02:085,76966,440,17218,461,92002,301,952