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 1, 2023 21:23Jack FrigaardJack FrigaardScore: 5,623Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:235,58249,954,91515,879,0001,984,0002,289,664
2Jan 1, 2023 21:235,58840,426,75416,829,0001,051,0002,289,664
3Jan 1, 2023 21:235,60345,034,09715,938,0001,992,0002,289,664
4Jan 1, 2023 21:235,61041,273,31115,957,0001,994,0002,289,664
5Jan 1, 2023 21:235,61846,413,14915,979,0001,997,0002,289,664
6Jan 1, 2023 21:235,62145,086,77115,990,0001,998,0002,273,280
7Jan 1, 2023 21:235,62340,442,99815,993,0001,999,0002,289,664
8Jan 1, 2023 21:235,64347,564,20217,056,0001,003,0002,289,664
9Jan 1, 2023 21:235,67340,072,84416,136,0002,017,0002,289,664
10Jan 1, 2023 21:235,99663,079,17219,188,54802,252,800
11Jan 1, 2023 21:236,04599,930,29419,344,95302,301,952
12Jan 1, 2023 21:236,27672,295,72320,082,83102,306,048