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 3, 2023 21:22Hal FHal FScore: 4,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:224,71644,999,70813,079,0002,012,0002,269,184
2Jan 3, 2023 21:224,72631,534,83913,106,0002,016,0002,289,664
3Jan 3, 2023 21:224,72742,492,90514,119,0001,008,0002,523,136
4Jan 3, 2023 21:224,72837,663,91014,120,0001,008,0002,289,664
5Jan 3, 2023 21:224,72832,526,09113,114,0002,017,0002,289,664
6Jan 3, 2023 21:224,73740,341,72913,137,0002,021,0002,527,232
7Jan 3, 2023 21:224,73732,581,39814,148,0001,010,0002,281,472
8Jan 3, 2023 21:224,74235,582,35413,150,0002,023,0002,289,664
9Jan 3, 2023 21:224,75738,362,26014,208,0001,014,0002,269,184
10Jan 3, 2023 21:224,90779,731,45515,702,33302,297,856
11Jan 3, 2023 21:224,94580,834,21315,825,34902,293,760
12Jan 3, 2023 21:224,96581,923,58915,886,89702,289,664