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 listJul 27, 2022 14:27Robert BurkeRobert BurkeScore: 4,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 14:274,42526,567,82212,137,0002,022,0002,453,504
2Jul 27, 2022 14:274,42929,770,12312,148,0002,024,0002,281,472
3Jul 27, 2022 14:274,43731,580,17112,170,0002,028,0002,281,472
4Jul 27, 2022 14:274,43829,235,46712,174,0002,029,0002,281,472
5Jul 27, 2022 14:274,44840,680,94712,202,0002,033,0002,445,312
6Jul 27, 2022 14:274,45528,585,15212,221,0002,036,0002,281,472
7Jul 27, 2022 14:274,46331,368,04013,261,0001,020,0002,281,472
8Jul 27, 2022 14:274,46532,959,68012,246,0002,041,0002,441,216
9Jul 27, 2022 14:274,47929,434,29012,286,0002,047,0002,441,216
10Jul 27, 2022 14:274,70885,622,97215,066,16802,256,896
11Jul 27, 2022 14:274,72180,827,87915,107,72102,207,744
12Jul 27, 2022 14:274,73086,311,36515,136,53902,207,744