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 18, 2024 19:33Robert BurkeRobert BurkeScore: 4,418Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:334,39834,929,98812,064,0002,010,0002,453,504
2Apr 18, 2024 19:334,40132,007,74912,071,0002,011,0002,445,312
3Apr 18, 2024 19:334,40434,696,94812,079,0002,013,0002,281,472
4Apr 18, 2024 19:334,41026,137,03512,097,0002,016,0002,453,504
5Apr 18, 2024 19:334,41538,536,92312,109,0002,018,0002,281,472
6Apr 18, 2024 19:334,41538,557,43712,111,0002,018,0002,445,312
7Apr 18, 2024 19:334,41831,290,40313,127,0001,009,0002,445,312
8Apr 18, 2024 19:334,41930,230,43112,120,0002,020,0002,281,472
9Apr 18, 2024 19:334,41936,268,30112,122,0002,020,0002,437,120
10Apr 18, 2024 19:334,68691,861,96714,995,88602,207,744
11Apr 18, 2024 19:334,70690,915,65915,058,87302,195,456
12Apr 18, 2024 19:334,73379,874,21115,146,40302,207,744