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 03:18Joad NacerJoad NacerScore: 5,380Success
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 03:185,33335,390,81915,059,0002,007,0002,289,664
2Apr 17, 2024 03:185,33844,208,24315,073,0002,009,0002,289,664
3Apr 17, 2024 03:185,34534,794,17216,099,0001,006,0002,269,184
4Apr 17, 2024 03:185,36139,971,12615,136,0002,018,0002,289,664
5Apr 17, 2024 03:185,36635,151,75315,150,0002,020,0002,289,664
6Apr 17, 2024 03:185,37040,040,85416,175,0001,010,0002,289,664
7Apr 17, 2024 03:185,38034,861,66715,191,0002,025,0002,289,664
8Apr 17, 2024 03:185,38038,814,97415,192,0002,025,0002,269,184
9Apr 17, 2024 03:185,39338,908,13315,229,0002,030,0002,289,664
10Apr 17, 2024 03:185,63296,180,88218,021,20302,301,952
11Apr 17, 2024 03:185,64185,352,30618,050,75102,297,856
12Apr 17, 2024 03:185,66764,169,89318,135,48802,297,856