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 17:53Joad NacerJoad NacerScore: 4,908Success
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 17:534,84936,587,61614,483,0001,034,0002,289,664
2Apr 17, 2024 17:534,85930,833,83714,514,0001,036,0002,289,664
3Apr 17, 2024 17:534,87042,401,93814,545,0001,038,0002,289,664
4Apr 17, 2024 17:534,87637,139,62715,604,00002,289,664
5Apr 17, 2024 17:534,87733,556,38014,566,0001,040,0002,273,280
6Apr 17, 2024 17:534,90033,108,48214,634,0001,045,0002,277,376
7Apr 17, 2024 17:534,90832,077,32814,660,0001,047,0002,387,968
8Apr 17, 2024 17:534,95741,726,99713,879,0001,982,0002,289,664
9Apr 17, 2024 17:534,96935,706,47414,909,000993,0002,527,232
10Apr 17, 2024 17:535,12273,877,70716,391,17302,301,952
11Apr 17, 2024 17:535,13770,159,88216,438,08002,179,072
12Apr 17, 2024 17:535,17980,524,22816,572,16902,306,048