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 1, 2024 19:32Nao YonashiroNao YonashiroScore: 5,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 1, 2024 19:325,45940,062,93016,443,0001,027,0002,289,664
2Aug 1, 2024 19:325,47239,147,01416,480,0001,030,0002,289,664
3Aug 1, 2024 19:325,47343,220,14116,482,0001,030,0002,289,664
4Aug 1, 2024 19:325,47638,843,27916,494,0001,030,0002,269,184
5Aug 1, 2024 19:325,47740,430,01016,496,0001,031,0002,289,664
6Aug 1, 2024 19:325,47844,745,82716,498,0001,031,0002,289,664
7Aug 1, 2024 19:325,48837,066,34616,529,0001,033,0002,269,184
8Aug 1, 2024 19:325,49038,681,21317,568,00002,289,664
9Aug 1, 2024 19:325,49544,734,73116,551,0001,034,0002,289,664
10Aug 1, 2024 19:325,66680,295,80218,131,20002,314,240
11Aug 1, 2024 19:325,69294,084,75718,215,18802,297,856
12Aug 1, 2024 19:325,70557,103,95418,256,15502,179,072