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 18, 2024 19:27Robert BurkeRobert BurkeScore: 4,417Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:274,39836,755,94612,062,0002,010,0002,281,472
2Apr 18, 2024 19:274,40534,057,92112,083,0002,013,0002,441,216
3Apr 18, 2024 19:274,40633,778,41412,085,0002,014,0002,445,312
4Apr 18, 2024 19:274,41231,353,17912,101,0002,016,0002,277,376
5Apr 18, 2024 19:274,41331,978,95312,104,0002,017,0002,281,472
6Apr 18, 2024 19:274,41733,007,16412,114,0002,019,0002,441,216
7Apr 18, 2024 19:274,41735,018,64912,115,0002,019,0002,281,472
8Apr 18, 2024 19:274,42232,917,98212,130,0002,021,0002,277,376
9Apr 18, 2024 19:274,42341,914,52712,132,0002,022,0002,281,472
10Apr 18, 2024 19:274,71587,813,06215,088,82802,207,744
11Apr 18, 2024 19:274,72182,634,64215,107,21002,203,648
12Apr 18, 2024 19:274,74298,399,93015,175,09902,207,744