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 listJun 3, 2021 04:58Yuriy LyfenkoYuriy LyfenkoScore: 5,092Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 04:585,044545,772,89914,124,0002,017,0002,273,280
2Jun 3, 2021 04:585,046540,258,97514,128,0002,018,0002,281,472
3Jun 3, 2021 04:585,053538,002,70214,148,0002,021,0002,281,472
4Jun 3, 2021 04:585,068543,314,62514,190,0002,027,0002,273,280
5Jun 3, 2021 04:585,089545,038,90514,251,0002,035,0002,273,280
6Jun 3, 2021 04:585,091540,632,65515,272,0001,018,0002,273,280
7Jun 3, 2021 04:585,092538,082,66115,277,0001,018,0002,273,280
8Jun 3, 2021 04:585,093544,024,23615,278,0001,018,0002,273,280
9Jun 3, 2021 04:585,110541,521,73215,331,0001,022,0002,281,472
10Jun 3, 2021 04:585,190578,190,39416,607,58902,285,568
11Jun 3, 2021 04:585,191571,735,95516,609,85102,293,760
12Jun 3, 2021 04:585,230579,995,14116,734,79802,256,896