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 listApr 17, 2024 02:46Joad NacerJoad NacerScore: 5,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 02:465,43942,951,55215,359,0002,047,0002,273,280
2Apr 17, 2024 02:465,44847,334,91117,435,00002,289,664
3Apr 17, 2024 02:465,45844,448,45816,437,0001,027,0002,289,664
4Apr 17, 2024 02:465,46237,935,98316,450,0001,028,0002,289,664
5Apr 17, 2024 02:465,46435,861,41616,458,0001,028,0002,281,472
6Apr 17, 2024 02:465,47637,038,68517,522,00002,289,664
7Apr 17, 2024 02:465,49334,855,92117,578,00002,289,664
8Apr 17, 2024 02:465,52044,056,69416,625,0001,039,0002,289,664
9Apr 17, 2024 02:465,53642,768,90315,747,0001,968,0002,527,232
10Apr 17, 2024 02:465,71087,279,52218,271,17002,297,856
11Apr 17, 2024 02:465,73382,333,70618,344,09602,179,072
12Apr 17, 2024 02:465,73487,153,46718,347,38502,289,664