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 24, 2022 11:54Robert BurkeRobert BurkeScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:544,42628,938,24112,141,0002,023,0002,281,472
2Jul 24, 2022 11:544,43832,434,98012,173,0002,028,0002,449,408
3Jul 24, 2022 11:544,43833,209,90012,173,0002,028,0002,449,408
4Jul 24, 2022 11:544,43940,507,55712,176,0002,029,0002,441,216
5Jul 24, 2022 11:544,44728,390,54612,197,0002,032,0002,281,472
6Jul 24, 2022 11:544,45129,895,40312,208,0002,034,0002,449,408
7Jul 24, 2022 11:544,45334,125,21112,215,0002,035,0002,281,472
8Jul 24, 2022 11:544,45836,762,63313,246,0001,018,0002,281,472
9Jul 24, 2022 11:544,46538,664,80113,268,0001,020,0002,535,424
10Jul 24, 2022 11:544,67781,563,00414,967,05702,207,744
11Jul 24, 2022 11:544,71079,688,88715,071,13602,203,648
12Jul 24, 2022 11:544,71578,045,26015,087,41602,260,992