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 17, 2024 00:25Joad NacerJoad NacerScore: 5,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 00:255,44839,490,11316,408,0001,025,0002,289,664
2Apr 17, 2024 00:255,45947,390,64916,442,0001,027,0002,289,664
3Apr 17, 2024 00:255,46033,379,12616,445,0001,027,0002,289,664
4Apr 17, 2024 00:255,46536,512,98516,459,0001,028,0002,273,280
5Apr 17, 2024 00:255,48539,741,78416,520,0001,032,0002,273,280
6Apr 17, 2024 00:255,49440,812,16216,547,0001,034,0002,265,088
7Apr 17, 2024 00:255,49742,960,72916,555,0001,034,0002,531,328
8Apr 17, 2024 00:255,52245,618,93016,632,0001,039,0002,289,664
9Apr 17, 2024 00:255,53350,727,55916,663,0001,041,0002,375,680
10Apr 17, 2024 00:255,70894,570,63218,264,20102,301,952
11Apr 17, 2024 00:255,72564,322,98018,320,98902,179,072
12Apr 17, 2024 00:255,756100,603,85318,418,52902,306,048