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 listJul 22, 2022 23:31Robert BurkeRobert BurkeScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:314,58737,556,96513,631,0001,048,0002,281,472
2Jul 22, 2022 23:314,59729,996,19013,659,0001,050,0002,449,408
3Jul 22, 2022 23:314,60537,029,54113,685,0001,052,0002,453,504
4Jul 22, 2022 23:314,63034,018,45413,829,000987,0002,281,472
5Jul 22, 2022 23:314,64641,445,75313,877,000991,0002,441,216
6Jul 22, 2022 23:314,64830,854,43012,891,0001,983,0002,281,472
7Jul 22, 2022 23:314,64829,371,35712,892,0001,983,0002,535,424
8Jul 22, 2022 23:314,65029,259,68412,896,0001,984,0002,453,504
9Jul 22, 2022 23:314,65033,520,05912,897,0001,984,0002,281,472
10Jul 22, 2022 23:314,81673,388,84815,411,70802,203,648
11Jul 22, 2022 23:314,82263,062,71815,429,60802,207,744
12Jul 22, 2022 23:314,85289,043,88315,524,82202,203,648