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 20, 2024 15:01Joad NacerJoad NacerScore: 5,033Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2024 15:015,00432,296,71714,013,0002,001,0002,273,280
2Apr 20, 2024 15:015,01132,452,90015,034,0001,002,0002,289,664
3Apr 20, 2024 15:015,01247,467,56114,033,0002,004,0002,273,280
4Apr 20, 2024 15:015,01638,664,16014,045,0002,006,0002,289,664
5Apr 20, 2024 15:015,01935,710,94014,053,0002,007,0002,289,664
6Apr 20, 2024 15:015,03148,140,69014,086,0002,012,0002,289,664
7Apr 20, 2024 15:015,03341,771,34715,100,0001,006,0002,273,280
8Apr 20, 2024 15:015,06433,820,92815,194,0001,012,0002,523,136
9Apr 20, 2024 15:015,08345,049,26815,249,0001,016,0002,383,872
10Apr 20, 2024 15:015,32066,706,31117,022,60402,174,976
11Apr 20, 2024 15:015,32381,428,16617,034,68902,297,856
12Apr 20, 2024 15:015,42575,113,61917,360,90802,306,048