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 listNov 26, 2024 10:30Dmitrii KravchenkoDmitrii KravchenkoScore: 4,738Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 10:304,71232,927,02613,069,0002,010,0002,269,184
2Nov 26, 2024 10:304,71533,782,87513,077,0002,011,0002,293,760
3Nov 26, 2024 10:304,71941,808,28113,087,0002,013,0002,293,760
4Nov 26, 2024 10:304,73032,636,22013,117,0002,018,0002,273,280
5Nov 26, 2024 10:304,73838,912,20013,140,0002,021,0002,293,760
6Nov 26, 2024 10:304,74546,570,09713,160,0002,024,0002,293,760
7Nov 26, 2024 10:304,75036,128,95513,175,0002,026,0002,359,296
8Nov 26, 2024 10:304,75430,721,56813,185,0002,028,0002,277,376
9Nov 26, 2024 10:304,76437,610,58613,214,0002,032,0002,281,472