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 20:15Yuriy LyfenkoYuriy LyfenkoScore: 5,598Success
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 20:155,58243,987,54816,871,000992,0002,396,160
2May 11, 2021 20:155,58539,153,33814,894,0002,978,0002,392,064
3May 11, 2021 20:155,58646,786,64016,881,000993,0002,523,136
4May 11, 2021 20:155,58646,643,07616,881,000993,0002,383,872
5May 11, 2021 20:155,59344,076,55815,911,0001,988,0002,392,064
6May 11, 2021 20:155,59631,696,63514,924,0002,984,0002,392,064
7May 11, 2021 20:155,59849,434,39614,929,0002,985,0002,387,968
8May 11, 2021 20:155,60343,790,04415,938,0001,992,0002,523,136
9May 11, 2021 20:155,61142,700,49816,959,000997,0002,523,136
10May 11, 2021 20:155,74956,314,23618,395,50702,281,472
11May 11, 2021 20:155,77674,569,56018,482,70802,277,376
12May 11, 2021 20:155,79483,043,81918,539,29602,273,280