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 4, 2023 13:09A L ManningA L ManningScore: 5,361Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2023 13:095,33232,982,11516,058,0001,003,0002,289,664
2Jan 4, 2023 13:095,34643,513,94516,101,0001,006,0002,289,664
3Jan 4, 2023 13:095,35043,806,38716,114,0001,007,0002,289,664
4Jan 4, 2023 13:095,35144,972,69215,109,0002,014,0002,367,488
5Jan 4, 2023 13:095,35340,367,92515,113,0002,015,0002,355,200
6Jan 4, 2023 13:095,35740,898,18216,133,0001,008,0002,351,104
7Jan 4, 2023 13:095,36142,706,68815,137,0002,018,0002,289,664
8Jan 4, 2023 13:095,38446,131,89415,202,0002,026,0002,355,200
9Jan 4, 2023 13:095,39040,880,00815,220,0002,029,0002,289,664
10Jan 4, 2023 13:095,56686,396,09917,812,56502,240,512
11Jan 4, 2023 13:095,57997,479,58817,853,99002,256,896
12Jan 4, 2023 13:095,59678,121,77117,907,89902,240,512