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 listJan 2, 2023 16:14Hal FHal FScore: 5,286Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:145,21742,583,35315,652,0001,043,0002,289,664
2Jan 2, 2023 16:145,26845,408,12314,875,0001,983,0002,277,376
3Jan 2, 2023 16:145,26843,360,00215,868,000991,0002,269,184
4Jan 2, 2023 16:145,27653,102,72614,897,0001,986,0002,289,664
5Jan 2, 2023 16:145,27946,331,47414,907,0001,987,0002,289,664
6Jan 2, 2023 16:145,28140,865,18914,912,0001,988,0002,289,664
7Jan 2, 2023 16:145,28643,415,56614,925,0001,990,0002,289,664
8Jan 2, 2023 16:145,28743,416,91914,927,0001,990,0002,289,664
9Jan 2, 2023 16:145,30648,806,67815,982,000998,0002,519,040
10Jan 2, 2023 16:145,44570,467,60817,422,56802,285,568
11Jan 2, 2023 16:145,50794,334,30617,620,86002,256,896
12Jan 2, 2023 16:145,51385,853,26917,641,37102,306,048