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:16Yuriy LyfenkoYuriy LyfenkoScore: 5,587Success
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:165,53745,570,53915,635,0002,084,0002,392,064
2May 11, 2021 20:165,54243,757,77516,690,0001,043,0002,260,992
3May 11, 2021 20:165,54445,279,59215,653,0002,087,0002,506,752
4May 11, 2021 20:165,56941,248,65913,862,0003,960,0002,383,872
5May 11, 2021 20:165,57443,079,10416,847,000991,0002,269,184
6May 11, 2021 20:165,57636,146,84415,861,0001,982,0002,265,088
7May 11, 2021 20:165,57838,798,02116,860,000991,0002,523,136
8May 11, 2021 20:165,57933,671,27615,871,0001,983,0002,396,160
9May 11, 2021 20:165,58247,783,24816,871,000992,0002,392,064
10May 11, 2021 20:165,58347,512,96416,873,000992,0002,519,040
11May 11, 2021 20:165,58450,246,17315,885,0001,985,0002,392,064
12May 11, 2021 20:165,58540,209,76816,880,000992,0002,396,160
13May 11, 2021 20:165,58737,676,75716,886,000993,0002,523,136
14May 11, 2021 20:165,58834,894,49416,889,000993,0002,523,136
15May 11, 2021 20:165,59032,812,58515,900,0001,987,0002,260,992
16May 11, 2021 20:165,59442,361,38914,918,0002,983,0002,523,136
17May 11, 2021 20:165,59741,598,63116,915,000995,0002,260,992
18May 11, 2021 20:165,59947,021,90316,921,000995,0002,523,136
19May 11, 2021 20:165,71868,435,29418,298,55702,273,280
20May 11, 2021 20:165,73159,076,30018,338,89102,277,376
21May 11, 2021 20:165,73755,186,55618,357,24502,277,376
22May 11, 2021 20:165,75575,183,23818,417,21102,277,376
23May 11, 2021 20:165,75878,141,86218,424,28102,285,568
24May 11, 2021 20:165,78274,674,47818,503,19502,289,664