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 listMay 11, 2021 22:41Yuriy LyfenkoYuriy LyfenkoScore: 5,665Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 22:415,64346,813,83017,054,0001,003,0002,383,872
2May 11, 2021 22:415,65636,667,93615,084,0003,016,0002,392,064
3May 11, 2021 22:415,66037,100,77216,101,0002,012,0002,387,968
4May 11, 2021 22:415,66143,210,16016,102,0002,012,0002,523,136
5May 11, 2021 22:415,66349,847,83917,115,0001,006,0002,387,968
6May 11, 2021 22:415,66444,997,70617,119,0001,007,0002,523,136
7May 11, 2021 22:415,66548,179,76815,107,0003,021,0002,260,992
8May 11, 2021 22:415,67846,699,66616,151,0002,018,0002,260,992
9May 11, 2021 22:415,69750,670,08216,206,0002,025,0002,392,064
10May 11, 2021 22:415,81582,939,43718,607,74102,281,472
11May 11, 2021 22:415,85084,436,91918,719,30202,281,472
12May 11, 2021 22:415,92887,255,95618,969,62802,277,376