task_name string | source_code string | compiler_asm string | object_asm string | shared_asm string | program_asm string | compiler_pic_asm string | pic_object_asm string | program_asm_v2 string |
|---|---|---|---|---|---|---|---|---|
C_1 | #include <assert.h>
#include <string.h>
// Return "Hello, MMCODEEVAL: Masssively Multilingual Code Evaluation"
char *hello_mmcodeeval(){
return "Hello, MMCODEEVAL: Masssively Multilingual Code Evaluation";
} | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hello_mmcodeeval ; -- Begin function hello_mmcodeeval
.p2align 2
_hello_mmcodeeval: ; @hello_mmcodeeval
.cfi_startproc
; %bb.0:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/000_C_1/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: 90000000 adrp x0, 0x0 <ltmp0>
0000000000000000: ARM64_RELOC_PAGE21 l_.str
4: 91000000 add x0, x0, #0x0
0000000000... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/000_C_1/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000360 <_hello_mmcodeeval>:
360: 90000000 adrp x0, 0x0
364: 910db000 add x0, x0, #0x36c
368: d65f03c0 ret
|
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/000_C_1/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000378 <_hello_mmcodeeval>:
100000378: 90000000 adrp x0, 0x100000000
10000037c: 910e6000 add x0, x0, #0x398
100000380: d65f03c0 ret
0000000100... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hello_mmcodeeval ; -- Begin function hello_mmcodeeval
.p2align 2
_hello_mmcodeeval: ; @hello_mmcodeeval
.cfi_startproc
; %bb.0:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/000_C_1/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: 90000000 adrp x0, 0x0 <ltmp0>
0000000000000000: ARM64_RELOC_PAGE21 l_.str
4: 91000000 add x0, x0, #0x0
000000... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
__TEXT,__cstring
addr: 0x0000000100000398
size: 0x000000000000003b
offset: 920
align: 2^0 (1)
flags: 0x00000002
=====================... |
C_10 | #include <assert.h>
#include <stdio.h>
/*
Calculate the sum of even numbers in a given list.
Parameters:
- numbers (list): A list of integers.
- size (int): The size of the list.
Returns:
int: The sum of even numbers in the input list.
>>> calculate_even_sum([1,4,3,2,5], 5)
6
*/
int calculate_even_s... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_even_sum ; -- Begin function calculate_even_sum
.p2align 2
_calculate_even_sum: ; @calculate_even_sum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/001_C_10/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: f9000fe0 str x0, [sp, #0x18]
8: b90017e1 str w1, [sp, #0x14]
c: b900... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/001_C_10/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_calculate_even_sum>:
318: d10083ff sub sp, sp, #0x20
31c: f9000fe0 str x0, [sp, #0x18]
320: b90017e1 str w1, [sp, #0x... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/001_C_10/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_calculate_even_sum>:
100000328: d10083ff sub sp, sp, #0x20
10000032c: f9000fe0 str x0, [sp, #0x18]
100000330: b90017e1 str w1, [sp, #... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_even_sum ; -- Begin function calculate_even_sum
.p2align 2
_calculate_even_sum: ; @calculate_even_sum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/001_C_10/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: f9000fe0 str x0, [sp, #0x18]
8: b90017e1 str w1, [sp, #0x14]
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_11 | #include <assert.h>
#include <stdio.h>
/*
Determine if two closed intervals intersect.
β Args:
β a, b: Representing the first closed interval [a, b] where 0 <= a <= b <= 1000.
β c, d: Representing the second closed interval [c, d] where 0 <= c <= d <= 1000.
β Returns:
β int: 1 if the intervals intersect,... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _are_intervals_intersecting ; -- Begin function are_intervals_intersecting
.p2align 2
_are_intervals_intersecting: ; @are_intervals_intersecting
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cf... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/002_C_11/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001be0 str w0, [sp, #0x18]
8: b90017e1 str w1, [sp, #0x14]
c: b900... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/002_C_11/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_are_intervals_intersecting>:
318: d10083ff sub sp, sp, #0x20
31c: b9001be0 str w0, [sp, #0x18]
320: b90017e1 str w1, ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/002_C_11/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_are_intervals_intersecting>:
100000328: d10083ff sub sp, sp, #0x20
10000032c: b9001be0 str w0, [sp, #0x18]
100000330: b90017e1 str w1... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _are_intervals_intersecting ; -- Begin function are_intervals_intersecting
.p2align 2
_are_intervals_intersecting: ; @are_intervals_intersecting
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cf... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/002_C_11/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001be0 str w0, [sp, #0x18]
8: b90017e1 str w1, [sp, #0x14]
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_12 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
/*
You are given three digits a, b, c. Two of them are equal, but the third one is different from the other two. Find the value that occurs exactly once.
>>> extraNumber(0,0,1)
1
>>> extraNumber(4,3,4)
3
*/
int extraNumber(int... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _extraNumber ; -- Begin function extraNumber
.p2align 2
_extraNumber: ; @extraNumber
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/003_C_12/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000be0 str w0, [sp, #0x8]
8: b90007e1 str w1, [sp, #0x4]
c: b90003... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/003_C_12/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_extraNumber>:
318: d10043ff sub sp, sp, #0x10
31c: b9000be0 str w0, [sp, #0x8]
320: b90007e1 str w1, [sp, #0x4]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/003_C_12/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_extraNumber>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000be0 str w0, [sp, #0x8]
100000330: b90007e1 str w1, [sp, #0x4]
100... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _extraNumber ; -- Begin function extraNumber
.p2align 2
_extraNumber: ; @extraNumber
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/003_C_12/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000be0 str w0, [sp, #0x8]
8: b90007e1 str w1, [sp, #0x4]
c: b9... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_13 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Calculate the total score for a student based on the scores in different subjects.
Parameters:
- subject_scores (list): A list containing the scores for each subject.
Returns:
int: The total score obtained b... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_total_score ; -- Begin function calculate_total_score
.p2align 2
_calculate_total_score: ; @calculate_total_score
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 3... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/004_C_13/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #0x1c]
8: b9001be1 str w1, [sp, #0x18]
c: b900... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/004_C_13/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_calculate_total_score>:
318: d10083ff sub sp, sp, #0x20
31c: b9001fe0 str w0, [sp, #0x1c]
320: b9001be1 str w1, [sp, ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/004_C_13/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_calculate_total_score>:
100000328: d10083ff sub sp, sp, #0x20
10000032c: b9001fe0 str w0, [sp, #0x1c]
100000330: b9001be1 str w1, [sp... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_total_score ; -- Begin function calculate_total_score
.p2align 2
_calculate_total_score: ; @calculate_total_score
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 3... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/004_C_13/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #0x1c]
8: b9001be1 str w1, [sp, #0x18]
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_14 | #include <assert.h>
#include <stdio.h>
#include <string.h>
/*
Decode a series of numbers to reveal the pattern and understand the actual values
each digit represents.
0000=4 8888=8 1234=1 5678=3 9012=2 1357=0 2468=4
Parameters:
- data_str: A string representing a series of numbers. Length does not exceed 100.
Return... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _decode_numbers ; -- Begin function decode_numbers
.p2align 2
_decode_numbers: ; @decode_numbers
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x29, x30, [sp, #80] ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/005_C_14/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10183ff sub sp, sp, #0x60
4: a9057bfd stp x29, x30, [sp, #0x50]
8: 910143fd add x29, sp, #0x50
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/005_C_14/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_decode_numbers>:
400: d10183ff sub sp, sp, #0x60
404: a9057bfd stp x29, x30, [sp, #0x50]
408: 910143fd add x29, sp, #... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/005_C_14/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_decode_numbers>:
100000410: d10183ff sub sp, sp, #0x60
100000414: a9057bfd stp x29, x30, [sp, #0x50]
100000418: 910143fd add x29, sp,... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _decode_numbers ; -- Begin function decode_numbers
.p2align 2
_decode_numbers: ; @decode_numbers
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x29, x30, [sp, #80] ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/005_C_14/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10183ff sub sp, sp, #0x60
4: a9057bfd stp x29, x30, [sp, #0x50]
8: 910143fd add x29, sp, #0x50
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_15 | #include <assert.h>
#include <stdio.h>
/*
Counts the number of different coloring methods for n squares with m colors,
considering the requirement that adjacent squares and the first/last squares
must have different colors.
Args:
- n (int): The number of squares.
- m (int): The number of colors.
Returns:
in... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_coloring_methods ; -- Begin function count_coloring_methods
.p2align 2
_count_coloring_methods: ; @count_coloring_methods
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/006_C_15/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0x10... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/006_C_15/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_count_coloring_methods>:
400: a9be6ffc stp x28, x27, [sp, #-0x20]!
404: a9017bfd stp x29, x30, [sp, #0x10]
408: 910043fd ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/006_C_15/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_count_coloring_methods>:
100000410: a9be6ffc stp x28, x27, [sp, #-0x20]!
100000414: a9017bfd stp x29, x30, [sp, #0x10]
100000418: 910043f... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_coloring_methods ; -- Begin function count_coloring_methods
.p2align 2
_count_coloring_methods: ; @count_coloring_methods
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/006_C_15/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_16 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Count the number of valid coin toss sequences with no consecutive heads in n tosses.
β Parameters:
- n (int): The number of coin tosses.
β Returns:
β unsigned long long: The count of valid sequences.
>>> co... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_valid_coin_toss_sequences ; -- Begin function count_valid_coin_toss_sequences
.p2align 2
_count_valid_coin_toss_sequences: ; @count_valid_coin_toss_sequences
.cfi_startproc
; %bb.0:
stp x28, x27, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/007_C_16/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0x10... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/007_C_16/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_count_valid_coin_toss_sequences>:
400: a9be6ffc stp x28, x27, [sp, #-0x20]!
404: a9017bfd stp x29, x30, [sp, #0x10]
408: 9... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/007_C_16/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_count_valid_coin_toss_sequences>:
100000410: a9be6ffc stp x28, x27, [sp, #-0x20]!
100000414: a9017bfd stp x29, x30, [sp, #0x10]
100000418... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_valid_coin_toss_sequences ; -- Begin function count_valid_coin_toss_sequences
.p2align 2
_count_valid_coin_toss_sequences: ; @count_valid_coin_toss_sequences
.cfi_startproc
; %bb.0:
stp x28, x27, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/007_C_16/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_17 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Find the length of the longest consecutive sequence of 1s in the binary representation of a non-negative integer.
β Parameters:
- n (unsigned long long): A non-negative integer (0 β€ n β€ 2^64 - 1).
β Returns:
β ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _find_longest_consecutive_ones_length ; -- Begin function find_longest_consecutive_ones_length
.p2align 2
_find_longest_consecutive_ones_length: ; @find_longest_consecutive_ones_length
.cfi_startproc
; %bb.0:
su... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/008_C_17/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: f90007e0 str x0, [sp, #0x8]
8: b90007ff str wzr, [sp, #0x4]
c: b9000... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/008_C_17/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_find_longest_consecutive_ones_length>:
318: d10043ff sub sp, sp, #0x10
31c: f90007e0 str x0, [sp, #0x8]
320: b90007ff ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/008_C_17/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_find_longest_consecutive_ones_length>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: f90007e0 str x0, [sp, #0x8]
100000330: b90007ff ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _find_longest_consecutive_ones_length ; -- Begin function find_longest_consecutive_ones_length
.p2align 2
_find_longest_consecutive_ones_length: ; @find_longest_consecutive_ones_length
.cfi_startproc
; %bb.0:
su... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/008_C_17/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: f90007e0 str x0, [sp, #0x8]
8: b90007ff str wzr, [sp, #0x4]
c: b... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_18 | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
/*
Creates an ID by combining two words in a specific manner.
βParameters:
- word1 (char*): The first word to be used in the ID.
- word2 (char*): The second word to be used in the ID.
βReturns:
βchar*: A divine ID formed by reversing every o... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _create_id ; -- Begin function create_id
.p2align 2
_create_id: ; @create_id
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x29, x30, [sp, #64] ; 16-byte... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/009_C_18/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: a9047bfd stp x29, x30, [sp, #0x40]
8: 910103fd add x29, sp, #0x40
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/009_C_18/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_create_id>:
400: d10143ff sub sp, sp, #0x50
404: a9047bfd stp x29, x30, [sp, #0x40]
408: 910103fd add x29, sp, #0x40
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/009_C_18/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_create_id>:
100000410: d10143ff sub sp, sp, #0x50
100000414: a9047bfd stp x29, x30, [sp, #0x40]
100000418: 910103fd add x29, sp, #0x4... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _create_id ; -- Begin function create_id
.p2align 2
_create_id: ; @create_id
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x29, x30, [sp, #64] ; 16-byte... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/009_C_18/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: a9047bfd stp x29, x30, [sp, #0x40]
8: 910103fd add x29, sp, #0x40
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_19 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Count the number of different permutation schemes for a binary string of length n,
where the number of '1's is m and the number of '0's is n - m.
β Parameters:
- n (int): Length of the binary string.
- m (int): Numbe... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_permutations_of_binary_string ; -- Begin function count_permutations_of_binary_string
.p2align 2
_count_permutations_of_binary_string: ; @count_permutations_of_binary_string
.cfi_startproc
; %bb.0:
sub s... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/010_C_19/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10103ff sub sp, sp, #0x40
4: b9003be0 str w0, [sp, #0x38]
8: b90037e1 str w1, [sp, #0x34]
c: 1e6e... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/010_C_19/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_count_permutations_of_binary_string>:
318: d10103ff sub sp, sp, #0x40
31c: b9003be0 str w0, [sp, #0x38]
320: b90037e1 ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/010_C_19/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_count_permutations_of_binary_string>:
100000328: d10103ff sub sp, sp, #0x40
10000032c: b9003be0 str w0, [sp, #0x38]
100000330: b90037e1 ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_permutations_of_binary_string ; -- Begin function count_permutations_of_binary_string
.p2align 2
_count_permutations_of_binary_string: ; @count_permutations_of_binary_string
.cfi_startproc
; %bb.0:
sub s... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/010_C_19/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10103ff sub sp, sp, #0x40
4: b9003be0 str w0, [sp, #0x38]
8: b90037e1 str w1, [sp, #0x34]
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_2 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Calculate the area of a triangle given its three sides.
β Parameters:
- a (float): Length of side 'a'.
- b (float): Length of side 'b'.
- c (float): Length of side 'c'.
β Returns:
- str: If the provided sides form... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_triangle_area ; -- Begin function calculate_triangle_area
.p2align 2
_calculate_triangle_area: ; @calculate_triangle_area
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offs... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/011_C_2/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: fd0013e0 str d0, [sp, #0x20]
8: fd000fe1 str d1, [sp, #0x18]
c: fd000... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/011_C_2/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000310 <_calculate_triangle_area>:
310: d100c3ff sub sp, sp, #0x30
314: fd0013e0 str d0, [sp, #0x20]
318: fd000fe1 str d1, [sp,... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/011_C_2/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_calculate_triangle_area>:
100000328: d100c3ff sub sp, sp, #0x30
10000032c: fd0013e0 str d0, [sp, #0x20]
100000330: fd000fe1 str d1, [s... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_triangle_area ; -- Begin function calculate_triangle_area
.p2align 2
_calculate_triangle_area: ; @calculate_triangle_area
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offs... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/011_C_2/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: fd0013e0 str d0, [sp, #0x20]
8: fd000fe1 str d1, [sp, #0x18]
c: f... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_20 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
β Answer a series of questions by providing choices A, B, C, or D for each question.
β Question 1:
β Constants like 1e6 belong to which data type?
β A. unsigned int
β B. int
β C. float
β ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _answer_questions ; -- Begin function answer_questions
.p2align 2
_answer_questions: ; @answer_questions
.cfi_startproc
; %bb.0:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/012_C_20/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: 90000000 adrp x0, 0x0 <ltmp0>
0000000000000000: ARM64_RELOC_PAGE21 l_.str
4: 91000000 add x0, x0, #0x0
000000000... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/012_C_20/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000368 <_answer_questions>:
368: 90000000 adrp x0, 0x0
36c: 910dd000 add x0, x0, #0x374
370: d65f03c0 ret
|
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/012_C_20/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000378 <_answer_questions>:
100000378: 90000000 adrp x0, 0x100000000
10000037c: 910e6000 add x0, x0, #0x398
100000380: d65f03c0 ret
000000010... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _answer_questions ; -- Begin function answer_questions
.p2align 2
_answer_questions: ; @answer_questions
.cfi_startproc
; %bb.0:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/012_C_20/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: 90000000 adrp x0, 0x0 <ltmp0>
0000000000000000: ARM64_RELOC_PAGE21 l_.str
4: 91000000 add x0, x0, #0x0
00000... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
__TEXT,__cstring
addr: 0x0000000100000398
size: 0x0000000000000006
offset: 920
align: 2^0 (1)
flags: 0x00000002
=====================... |
C_21 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
The task is to determine if it is possible to assemble the wooden squares from n buckets,
where each bucket contains $a_i$ squares with a side length of 1, into a single larger square.
Input: length of list, array of nu... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Is_Square ; -- Begin function Is_Square
.p2align 2
_Is_Square: ; @Is_Square
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
st... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/013_C_21/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #0x1c]
8: f9000be1 str x1, [sp, #0x10]
c: f900... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/013_C_21/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_Is_Square>:
318: d10083ff sub sp, sp, #0x20
31c: b9001fe0 str w0, [sp, #0x1c]
320: f9000be1 str x1, [sp, #0x10]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/013_C_21/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_Is_Square>:
100000328: d10083ff sub sp, sp, #0x20
10000032c: b9001fe0 str w0, [sp, #0x1c]
100000330: f9000be1 str x1, [sp, #0x10]
100... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Is_Square ; -- Begin function Is_Square
.p2align 2
_Is_Square: ; @Is_Square
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
st... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/013_C_21/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #0x1c]
8: f9000be1 str x1, [sp, #0x10]
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_22 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Given integers c and d, where a + b = c and a * b = d, find and return the possible value of a (a <= b). If there are multiple groups, output the group with the smallest a.
Parameters:
- c (int): The sum of a an... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _find_integers ; -- Begin function find_integers
.p2align 2
_find_integers: ; @find_integers
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/014_C_22/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000be0 str w0, [sp, #0x8]
8: b90007e1 str w1, [sp, #0x4]
c: b90003... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/014_C_22/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_find_integers>:
318: d10043ff sub sp, sp, #0x10
31c: b9000be0 str w0, [sp, #0x8]
320: b90007e1 str w1, [sp, #0x4]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/014_C_22/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_find_integers>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000be0 str w0, [sp, #0x8]
100000330: b90007e1 str w1, [sp, #0x4]
1... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _find_integers ; -- Begin function find_integers
.p2align 2
_find_integers: ; @find_integers
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/014_C_22/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000be0 str w0, [sp, #0x8]
8: b90007e1 str w1, [sp, #0x4]
c: b9... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_23 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
/*
Count the number of acute-angled triangles that can be formed by selecting any 3 edges out of a given set of edges.
Args:
- edges_count: The number of edges passed.
- An arbi... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_acute_triangles ; -- Begin function count_acute_triangles
.p2align 2
_count_acute_triangles: ; @count_acute_triangles
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x29, x30, [sp, #6... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/015_C_23/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: a9047bfd stp x29, x30, [sp, #0x40]
8: 910103fd add x29, sp, #0x40
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/015_C_23/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_count_acute_triangles>:
400: d10143ff sub sp, sp, #0x50
404: a9047bfd stp x29, x30, [sp, #0x40]
408: 910103fd add x29... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/015_C_23/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_count_acute_triangles>:
100000410: d10143ff sub sp, sp, #0x50
100000414: a9047bfd stp x29, x30, [sp, #0x40]
100000418: 910103fd add x... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_acute_triangles ; -- Begin function count_acute_triangles
.p2align 2
_count_acute_triangles: ; @count_acute_triangles
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x29, x30, [sp, #6... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/015_C_23/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: a9047bfd stp x29, x30, [sp, #0x40]
8: 910103fd add x29, sp, #0x40
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_24 | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
Reads an integer and a character, then returns them as a formatted string separated by a comma.
Parameters:
- integer_value (int): The input integer.
- char_value (char): The input character.
Returns:
- char*: A string containing the inte... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _process_integer_and_char ; -- Begin function process_integer_and_char
.p2align 2
_process_integer_and_char: ; @process_integer_and_char
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x29, x30, [... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/016_C_24/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: a9027bfd stp x29, x30, [sp, #0x20]
8: 910083fd add x29, sp, #0x20
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/016_C_24/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000450 <_process_integer_and_char>:
450: d100c3ff sub sp, sp, #0x30
454: a9027bfd stp x29, x30, [sp, #0x20]
458: 910083fd add ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/016_C_24/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000460 <_process_integer_and_char>:
100000460: d100c3ff sub sp, sp, #0x30
100000464: a9027bfd stp x29, x30, [sp, #0x20]
100000468: 910083fd ad... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _process_integer_and_char ; -- Begin function process_integer_and_char
.p2align 2
_process_integer_and_char: ; @process_integer_and_char
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x29, x30, [... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/016_C_24/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: a9027bfd stp x29, x30, [sp, #0x20]
8: 910083fd add x29, sp, #0x20
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
__TEXT,__cstring
addr: 0x0000000100000530
size: 0x0000000000000020
offset: 1328
align: 2^0 (1)
flags: 0x00000002
====================... |
C_25 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Shifts all characters by 5 positions in alphabetical order. Only letters are replaced, and all letters are in uppercase.
β Parameters:
β text (str): The input text to be processed.
β
β Returns:
β str: The tr... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _shift_characters ; -- Begin function shift_characters
.p2align 2
_shift_characters: ; @shift_characters
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x29, x30, [sp, #32] ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/017_C_25/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: a9027bfd stp x29, x30, [sp, #0x20]
8: 910083fd add x29, sp, #0x20
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/017_C_25/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_shift_characters>:
400: d100c3ff sub sp, sp, #0x30
404: a9027bfd stp x29, x30, [sp, #0x20]
408: 910083fd add x29, sp,... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/017_C_25/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_shift_characters>:
100000410: d100c3ff sub sp, sp, #0x30
100000414: a9027bfd stp x29, x30, [sp, #0x20]
100000418: 910083fd add x29, s... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _shift_characters ; -- Begin function shift_characters
.p2align 2
_shift_characters: ; @shift_characters
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x29, x30, [sp, #32] ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/017_C_25/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: a9027bfd stp x29, x30, [sp, #0x20]
8: 910083fd add x29, sp, #0x20
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_26 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Classify the integer x based on the following method:
If x is a single-digit number, x belongs to its own class.
Otherwise, sum the digits of x, get a new x, and iterate until the class is determined.
Parameters:
- x (c... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _classify_integer ; -- Begin function classify_integer
.p2align 2
_classify_integer: ; @classify_integer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x29, x30, [sp, #32] ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/018_C_26/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: a9027bfd stp x29, x30, [sp, #0x20]
8: 910083fd add x29, sp, #0x20
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/018_C_26/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_classify_integer>:
400: d100c3ff sub sp, sp, #0x30
404: a9027bfd stp x29, x30, [sp, #0x20]
408: 910083fd add x29, sp,... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/018_C_26/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_classify_integer>:
100000410: d100c3ff sub sp, sp, #0x30
100000414: a9027bfd stp x29, x30, [sp, #0x20]
100000418: 910083fd add x29, s... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _classify_integer ; -- Begin function classify_integer
.p2align 2
_classify_integer: ; @classify_integer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x29, x30, [sp, #32] ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/018_C_26/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: a9027bfd stp x29, x30, [sp, #0x20]
8: 910083fd add x29, sp, #0x20
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_27 | #include <assert.h>
#include <stdio.h>
/*
Transforms the case of a given letter.
Parameters:
- letter (char): The input letter to be transformed.
Returns:
- char: The letter with its case reversed. If the input is lowercase, it returns the uppercase version,
and if the input is uppercase, it returns the lowerca... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _transform_letter_case ; -- Begin function transform_letter_case
.p2align 2
_transform_letter_case: ; @transform_letter_case
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 1... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/019_C_27/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: 39003be0 strb w0, [sp, #0xe]
8: 39c03be8 ldrsb w8, [sp, #0xe]
c: 710... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/019_C_27/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_transform_letter_case>:
318: d10043ff sub sp, sp, #0x10
31c: 39003be0 strb w0, [sp, #0xe]
320: 39c03be8 ldrsb w8, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/019_C_27/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_transform_letter_case>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: 39003be0 strb w0, [sp, #0xe]
100000330: 39c03be8 ldrsb w8, [... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _transform_letter_case ; -- Begin function transform_letter_case
.p2align 2
_transform_letter_case: ; @transform_letter_case
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 1... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/019_C_27/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: 39003be0 strb w0, [sp, #0xe]
8: 39c03be8 ldrsb w8, [sp, #0xe]
c:... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_28 | #include <stdio.h>
#include <assert.h>
/*
Display the ASCII information for a given character.
β Parameters:
- character (char): The input character for which ASCII information is to be displayed.
β Returns:
- int: corresponding ASCII code
>>> display_ascii_info('A')
65
*/
int display_ascii_info(char char... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _display_ascii_info ; -- Begin function display_ascii_info
.p2align 2
_display_ascii_info: ; @display_ascii_info
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/020_C_28/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: 39003fe0 strb w0, [sp, #0xf]
8: 39c03fe0 ldrsb w0, [sp, #0xf]
c: 910... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/020_C_28/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_display_ascii_info>:
318: d10043ff sub sp, sp, #0x10
31c: 39003fe0 strb w0, [sp, #0xf]
320: 39c03fe0 ldrsb w0, [sp, #... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/020_C_28/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_display_ascii_info>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: 39003fe0 strb w0, [sp, #0xf]
100000330: 39c03fe0 ldrsb w0, [sp,... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _display_ascii_info ; -- Begin function display_ascii_info
.p2align 2
_display_ascii_info: ; @display_ascii_info
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/020_C_28/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: 39003fe0 strb w0, [sp, #0xf]
8: 39c03fe0 ldrsb w0, [sp, #0xf]
c:... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_29 | #include <assert.h> // Used for testing the function with assertions
#include <math.h> // Not needed for this function
#include <stdbool.h> // Not needed for this function
#include <stdio.h> // Needed for input/output functions
#include <string.h> // Not needed for this function
/*
Evaluate the grade for an input integ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _evaluate_integer_grade ; -- Begin function evaluate_integer_grade
.p2align 2
_evaluate_integer_grade: ; @evaluate_integer_grade
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/021_C_29/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9400fea ldr w10, [sp, #0xc]
c: 52800... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/021_C_29/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_evaluate_integer_grade>:
318: d10043ff sub sp, sp, #0x10
31c: b9000fe0 str w0, [sp, #0xc]
320: b9400fea ldr w10, [sp,... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/021_C_29/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_evaluate_integer_grade>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000fe0 str w0, [sp, #0xc]
100000330: b9400fea ldr w10, [s... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _evaluate_integer_grade ; -- Begin function evaluate_integer_grade
.p2align 2
_evaluate_integer_grade: ; @evaluate_integer_grade
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/021_C_29/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9400fea ldr w10, [sp, #0xc]
c: 5... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_3 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Calculate the value of the function for a given input.
Parameters:
- x (int): Input value for the function.
Returns:
- double or string: If x is not in the defined domain, returns "Not define".
Otherwise, return... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_function_value ; -- Begin function calculate_function_value
.p2align 2
_calculate_function_value: ; @calculate_function_value
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x29, x30, [... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/022_C_3/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: a9027bfd stp x29, x30, [sp, #0x20]
8: 910083fd add x29, sp, #0x20
c: ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/022_C_3/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
00000000000004e0 <_calculate_function_value>:
4e0: d100c3ff sub sp, sp, #0x30
4e4: a9027bfd stp x29, x30, [sp, #0x20]
4e8: 910083fd add x... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/022_C_3/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
00000001000004f8 <_calculate_function_value>:
1000004f8: d100c3ff sub sp, sp, #0x30
1000004fc: a9027bfd stp x29, x30, [sp, #0x20]
100000500: 910083fd add... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_function_value ; -- Begin function calculate_function_value
.p2align 2
_calculate_function_value: ; @calculate_function_value
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x29, x30, [... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/022_C_3/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: a9027bfd stp x29, x30, [sp, #0x20]
8: 910083fd add x29, sp, #0x20
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
__TEXT,__cstring
addr: 0x00000001000006c4
size: 0x0000000000000011
offset: 1732
align: 2^0 (1)
flags: 0x00000002
====================... |
C_30 | #include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Checks if a three-character string has exactly two characters that are the same.
β
Args:
s (char array): The three-character string to be checked.
β
Returns:
str: Returns 'Yes' if the input has exactly two equal characters, other... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _check_two_equal_digits ; -- Begin function check_two_equal_digits
.p2align 2
_check_two_equal_digits: ; @check_two_equal_digits
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/023_C_30/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: f90003e0 str x0, [sp]
8: f94003e8 ldr x8, [sp]
c: 39c00108 ldrs... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/023_C_30/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000368 <_check_two_equal_digits>:
368: d10043ff sub sp, sp, #0x10
36c: f90003e0 str x0, [sp]
370: f94003e8 ldr x8, [sp]
3... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/023_C_30/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000378 <_check_two_equal_digits>:
100000378: d10043ff sub sp, sp, #0x10
10000037c: f90003e0 str x0, [sp]
100000380: f94003e8 ldr x8, [sp]
1000... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _check_two_equal_digits ; -- Begin function check_two_equal_digits
.p2align 2
_check_two_equal_digits: ; @check_two_equal_digits
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/023_C_30/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: f90003e0 str x0, [sp]
8: f94003e8 ldr x8, [sp]
c: 39c00108 ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
__TEXT,__cstring
addr: 0x0000000100000468
size: 0x0000000000000007
offset: 1128
align: 2^0 (1)
flags: 0x00000002
====================... |
C_31 | #include <assert.h>
#include <stdio.h>
#include <string.h>
/*
Given a string consisting of lowercase English letters, in each round you can change one of the characters to another character. The question is: what is the minimum number of rounds needed to make the string composed of the same character?
For example:
... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _minRoundsToSameChar ; -- Begin function minRoundsToSameChar
.p2align 2
_minRoundsToSameChar: ; @minRoundsToSameChar
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x29, x30, [sp, #144]... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/024_C_31/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10283ff sub sp, sp, #0xa0
4: a9097bfd stp x29, x30, [sp, #0x90]
8: 910243fd add x29, sp, #0x90
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/024_C_31/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_minRoundsToSameChar>:
400: d10283ff sub sp, sp, #0xa0
404: a9097bfd stp x29, x30, [sp, #0x90]
408: 910243fd add x29, ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/024_C_31/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_minRoundsToSameChar>:
100000410: d10283ff sub sp, sp, #0xa0
100000414: a9097bfd stp x29, x30, [sp, #0x90]
100000418: 910243fd add x29... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _minRoundsToSameChar ; -- Begin function minRoundsToSameChar
.p2align 2
_minRoundsToSameChar: ; @minRoundsToSameChar
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x29, x30, [sp, #144]... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/024_C_31/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10283ff sub sp, sp, #0xa0
4: a9097bfd stp x29, x30, [sp, #0x90]
8: 910243fd add x29, sp, #0x90
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_32 | #include <assert.h>
#include <stdio.h>
/*
Given a sequence of n events, each occurring with a periodicity of a_i years, the problem is to find the year Y_n when the n-th event occurs, under the condition that the countdown for event i+1 can only commence in the year immediately following the occurrence of event i.
... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _apocalypseYear ; -- Begin function apocalypseYear
.p2align 2
_apocalypseYear: ; @apocalypseYear
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/025_C_32/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #0x1c]
8: f9000be1 str x1, [sp, #0x10]
c: b900... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/025_C_32/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_apocalypseYear>:
318: d10083ff sub sp, sp, #0x20
31c: b9001fe0 str w0, [sp, #0x1c]
320: f9000be1 str x1, [sp, #0x10]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/025_C_32/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_apocalypseYear>:
100000328: d10083ff sub sp, sp, #0x20
10000032c: b9001fe0 str w0, [sp, #0x1c]
100000330: f9000be1 str x1, [sp, #0x10... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _apocalypseYear ; -- Begin function apocalypseYear
.p2align 2
_apocalypseYear: ; @apocalypseYear
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/025_C_32/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #0x1c]
8: f9000be1 str x1, [sp, #0x10]
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_33 | #include <stdio.h>
#include <assert.h>
#include <stdbool.h>
/*
This problem introduces a new modulo operation, denoted by the symbol "β". When calculating x β y, if x is not a multiple of y, the result is the remainder of x divided by y. Otherwise, divide x by y repeatedly until x is no longer a multiple of y, denoting... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _newModuloFactorial ; -- Begin function newModuloFactorial
.p2align 2
_newModuloFactorial: ; @newModuloFactorial
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byt... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/026_C_33/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9bf7bfd stp x29, x30, [sp, #-0x10]!
4: 910003fd mov x29, sp
8: d10183ff sub sp, sp, #0x60
c: 9000... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/026_C_33/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_newModuloFactorial>:
400: a9bf7bfd stp x29, x30, [sp, #-0x10]!
404: 910003fd mov x29, sp
408: d10183ff sub sp, sp, #0... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/026_C_33/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_newModuloFactorial>:
100000410: a9bf7bfd stp x29, x30, [sp, #-0x10]!
100000414: 910003fd mov x29, sp
100000418: d10183ff sub sp, sp, ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _newModuloFactorial ; -- Begin function newModuloFactorial
.p2align 2
_newModuloFactorial: ; @newModuloFactorial
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byt... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/026_C_33/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9bf7bfd stp x29, x30, [sp, #-0x10]!
4: 910003fd mov x29, sp
8: d10183ff sub sp, sp, #0x60
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_34 | #include <stdio.h>
#include <assert.h>
/*
You are given an array a of n integers. You can perform at most one operation where you select three integers i, j, x (1 <= i <= j <= n) and replace all elements from a[i] to a[j] with x, at a cost of (j - i + 1).
Find the minimum cost to make all elements in the array equal.
... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _makeEqualAgain ; -- Begin function makeEqualAgain
.p2align 2
_makeEqualAgain: ; @makeEqualAgain
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/027_C_34/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: b9002be0 str w0, [sp, #0x28]
8: f90013e1 str x1, [sp, #0x20]
c: 5280... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/027_C_34/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_makeEqualAgain>:
318: d100c3ff sub sp, sp, #0x30
31c: b9002be0 str w0, [sp, #0x28]
320: f90013e1 str x1, [sp, #0x20]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/027_C_34/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_makeEqualAgain>:
100000328: d100c3ff sub sp, sp, #0x30
10000032c: b9002be0 str w0, [sp, #0x28]
100000330: f90013e1 str x1, [sp, #0x20... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _makeEqualAgain ; -- Begin function makeEqualAgain
.p2align 2
_makeEqualAgain: ; @makeEqualAgain
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/027_C_34/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: b9002be0 str w0, [sp, #0x28]
8: f90013e1 str x1, [sp, #0x20]
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_35 | #include <assert.h>
#include <stdio.h>
/*
Given a sequence of N piles of stones numbered from 1 to N, with each pile containing a positive number of stones, determine the winner of a game played by Charlie and Dan. Charlie goes first, and they take turns moving a positive number of stones from the leftmost non-empty pi... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gameWinner ; -- Begin function gameWinner
.p2align 2
_gameWinner: ; @gameWinner
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #20]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/028_C_35/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b90017e0 str w0, [sp, #0x14]
8: f90007e1 str x1, [sp, #0x8]
c: f9400... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/028_C_35/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000368 <_gameWinner>:
368: d10083ff sub sp, sp, #0x20
36c: b90017e0 str w0, [sp, #0x14]
370: f90007e1 str x1, [sp, #0x8]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/028_C_35/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000378 <_gameWinner>:
100000378: d10083ff sub sp, sp, #0x20
10000037c: b90017e0 str w0, [sp, #0x14]
100000380: f90007e1 str x1, [sp, #0x8]
100... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gameWinner ; -- Begin function gameWinner
.p2align 2
_gameWinner: ; @gameWinner
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #20]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/028_C_35/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b90017e0 str w0, [sp, #0x14]
8: f90007e1 str x1, [sp, #0x8]
c: f... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
__TEXT,__cstring
addr: 0x0000000100000400
size: 0x000000000000000c
offset: 1024
align: 2^0 (1)
flags: 0x00000002
====================... |
C_36 | #include <assert.h>
#include <stdio.h>
/*
Given n doors arranged in a circle, the player starts in front of door 1. Each turn, the player can choose a number i and pay a cost C_i to move i steps to the right and then open the door at that position. It is guaranteed that C_i >= C_{i+1} for 1 <= i < n.
The task is to det... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _minTotalCost ; -- Begin function minTotalCost
.p2align 2
_minTotalCost: ; @minTotalCost
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #1... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/029_C_36/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: f90003e1 str x1, [sp]
c: f94003e8 ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/029_C_36/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_minTotalCost>:
318: d10043ff sub sp, sp, #0x10
31c: b9000fe0 str w0, [sp, #0xc]
320: f90003e1 str x1, [sp]
324: ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/029_C_36/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_minTotalCost>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000fe0 str w0, [sp, #0xc]
100000330: f90003e1 str x1, [sp]
10000033... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _minTotalCost ; -- Begin function minTotalCost
.p2align 2
_minTotalCost: ; @minTotalCost
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #1... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/029_C_36/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: f90003e1 str x1, [sp]
c: f94003e8... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_37 | #include <assert.h>
#include <stdio.h>
/*
Given a sequence of student IDs entering a classroom, where the IDs range from 0 to N-1, calculate the total number of handshakes that occur. Each student will shake hands with every student already in the classroom with a smaller ID number. The sequence represents the order in... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countHandshakes ; -- Begin function countHandshakes
.p2align 2
_countHandshakes: ; @countHandshakes
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Fold... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/030_C_37/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0x10... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/030_C_37/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_countHandshakes>:
400: a9be6ffc stp x28, x27, [sp, #-0x20]!
404: a9017bfd stp x29, x30, [sp, #0x10]
408: 910043fd add... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/030_C_37/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_countHandshakes>:
100000410: a9be6ffc stp x28, x27, [sp, #-0x20]!
100000414: a9017bfd stp x29, x30, [sp, #0x10]
100000418: 910043fd a... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countHandshakes ; -- Begin function countHandshakes
.p2align 2
_countHandshakes: ; @countHandshakes
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Fold... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/030_C_37/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_38 | #include <assert.h>
#include <stdio.h>
/*
Given n positive integers representing the count of each number from 1 to n,
find the maximum sum of the mode (most frequent element) for all prefixes of
a sequence constructed from these numbers. The mode is the largest number among
the most frequent elements in a sequence.... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _maxModeSum ; -- Begin function maxModeSum
.p2align 2
_maxModeSum: ; @maxModeSum
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/031_C_38/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0x10... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/031_C_38/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_maxModeSum>:
400: a9be6ffc stp x28, x27, [sp, #-0x20]!
404: a9017bfd stp x29, x30, [sp, #0x10]
408: 910043fd add x29,... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/031_C_38/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_maxModeSum>:
100000410: a9be6ffc stp x28, x27, [sp, #-0x20]!
100000414: a9017bfd stp x29, x30, [sp, #0x10]
100000418: 910043fd add x2... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _maxModeSum ; -- Begin function maxModeSum
.p2align 2
_maxModeSum: ; @maxModeSum
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/031_C_38/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_39 | #include <assert.h>
#include <stdio.h>
/*
Given an array A of integers, the task is to calculate the sum of the XOR of all subarrays.
A subarray is defined by a pair of indices (L, R) such that 1 <= L <= R <= n, where n is the size of the array.
The XOR sum of a subarray is the result of XORing all elements from L to R... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sumOfXorSubarrays ; -- Begin function sumOfXorSubarrays
.p2align 2
_sumOfXorSubarrays: ; @sumOfXorSubarrays
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/032_C_39/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0x10... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/032_C_39/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_sumOfXorSubarrays>:
400: a9be6ffc stp x28, x27, [sp, #-0x20]!
404: a9017bfd stp x29, x30, [sp, #0x10]
408: 910043fd a... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/032_C_39/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_sumOfXorSubarrays>:
100000410: a9be6ffc stp x28, x27, [sp, #-0x20]!
100000414: a9017bfd stp x29, x30, [sp, #0x10]
100000418: 910043fd ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sumOfXorSubarrays ; -- Begin function sumOfXorSubarrays
.p2align 2
_sumOfXorSubarrays: ; @sumOfXorSubarrays
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/032_C_39/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_4 | #include <assert.h>
#include <stdio.h>
/*
Find the maximum and minimum of three distinct integers.
Parameters:
a (int): The first integer.
b (int): The second integer.
c (int): The third integer.
Returns:
Tuple[int, int]: A tuple is not a concept in C; instead, we will return by reference.
>>> Example call:
int max,... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _find_max_min ; -- Begin function find_max_min
.p2align 2
_find_max_min: ; @find_max_min
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, #4... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/033_C_4/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: b9002fe0 str w0, [sp, #0x2c]
8: b9002be1 str w1, [sp, #0x28]
c: b9002... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/033_C_4/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000310 <_find_max_min>:
310: d100c3ff sub sp, sp, #0x30
314: b9002fe0 str w0, [sp, #0x2c]
318: b9002be1 str w1, [sp, #0x28]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/033_C_4/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_find_max_min>:
100000328: d100c3ff sub sp, sp, #0x30
10000032c: b9002fe0 str w0, [sp, #0x2c]
100000330: b9002be1 str w1, [sp, #0x28]
1... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _find_max_min ; -- Begin function find_max_min
.p2align 2
_find_max_min: ; @find_max_min
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, #4... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/033_C_4/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d100c3ff sub sp, sp, #0x30
4: b9002fe0 str w0, [sp, #0x2c]
8: b9002be1 str w1, [sp, #0x28]
c: b... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_40 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
/*
Given two positive integers n and k, find the number of positive integers x, where 1 <= x <= n, that can be expressed as x = a^b with a and b being positive integers and b >= k.
Different legal representations of the sa... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countPowerNumbers ; -- Begin function countPowerNumbers
.p2align 2
_countPowerNumbers: ; @countPowerNumbers
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x29, x30, [sp, #64] ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/034_C_40/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: a9047bfd stp x29, x30, [sp, #0x40]
8: 910103fd add x29, sp, #0x40
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/034_C_40/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_countPowerNumbers>:
400: d10143ff sub sp, sp, #0x50
404: a9047bfd stp x29, x30, [sp, #0x40]
408: 910103fd add x29, sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/034_C_40/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_countPowerNumbers>:
100000410: d10143ff sub sp, sp, #0x50
100000414: a9047bfd stp x29, x30, [sp, #0x40]
100000418: 910103fd add x29, ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countPowerNumbers ; -- Begin function countPowerNumbers
.p2align 2
_countPowerNumbers: ; @countPowerNumbers
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x29, x30, [sp, #64] ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/034_C_40/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: a9047bfd stp x29, x30, [sp, #0x40]
8: 910103fd add x29, sp, #0x40
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_41 | #include <stdio.h>
#include <assert.h>
/*
Given three integers n, m, and k, find the number of sequences consisting of n '(' and m ')', such that the longest balanced subsequence is of length 2 * k. The result should be calculated modulo 1,000,000,007 (10^9 + 7).
For example:
>>> countBalancedSubsequences(2, 2, 2)... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countBalancedSubsequences ; -- Begin function countBalancedSubsequences
.p2align 2
_countBalancedSubsequences: ; @countBalancedSubsequences
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/035_C_41/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: d29940e8 mov x8, #0xca07 ; =51719
8: f2a77348 movk x8, #0x3b9a,... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/035_C_41/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
00000000000003b0 <_countBalancedSubsequences>:
3b0: d10143ff sub sp, sp, #0x50
3b4: d29940e8 mov x8, #0xca07 ; =51719
3b8: f2a773... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/035_C_41/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
00000001000003c0 <_countBalancedSubsequences>:
1000003c0: d10143ff sub sp, sp, #0x50
1000003c4: d29940e8 mov x8, #0xca07 ; =51719
1000003c8: f2a... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countBalancedSubsequences ; -- Begin function countBalancedSubsequences
.p2align 2
_countBalancedSubsequences: ; @countBalancedSubsequences
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/035_C_41/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: d29940e8 mov x8, #0xca07 ; =51719
8: f2a77348 movk x8, #0x3... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_42 | #include <stdio.h>
#include <assert.h>
/*
Given a rectangle paper of size n x m placed on a plane Cartesian coordinate system with its bottom-left corner at (0,0) and top-right corner at (n,m),
you need to calculate the expected number of operations to cut the paper such that the remaining area is less than k.
In eac... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _expectedCuts ; -- Begin function expectedCuts
.p2align 2
_expectedCuts: ; @expectedCuts
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spi... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/036_C_42/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0x10... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/036_C_42/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_expectedCuts>:
400: a9be6ffc stp x28, x27, [sp, #-0x20]!
404: a9017bfd stp x29, x30, [sp, #0x10]
408: 910043fd add x2... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/036_C_42/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_expectedCuts>:
100000410: a9be6ffc stp x28, x27, [sp, #-0x20]!
100000414: a9017bfd stp x29, x30, [sp, #0x10]
100000418: 910043fd add ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _expectedCuts ; -- Begin function expectedCuts
.p2align 2
_expectedCuts: ; @expectedCuts
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spi... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/036_C_42/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_43 | #include <stdio.h>
#include <assert.h>
#include <string.h>
/*
Given a permutation q of n elements and an integer k, find the number of permutations p of n elements such that f(p) = q, where f(p) is the lexicographically smallest permutation that can be obtained by dividing p into exactly k non-empty contiguous segments... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countPermutations ; -- Begin function countPermutations
.p2align 2
_countPermutations: ; @countPermutations
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/037_C_43/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0x10... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/037_C_43/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_countPermutations>:
400: a9be6ffc stp x28, x27, [sp, #-0x20]!
404: a9017bfd stp x29, x30, [sp, #0x10]
408: 910043fd a... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/037_C_43/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_countPermutations>:
100000410: a9be6ffc stp x28, x27, [sp, #-0x20]!
100000414: a9017bfd stp x29, x30, [sp, #0x10]
100000418: 910043fd ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countPermutations ; -- Begin function countPermutations
.p2align 2
_countPermutations: ; @countPermutations
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/037_C_43/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_44 | #include <stdio.h>
#include <assert.h>
#include <stdbool.h>
/*
Given an array of n distinct integers representing the heights of Kira's friends,
find the number of ways to choose a triplet (a, b, c) such that the greatest common divisor (GCD)
of the maximum and minimum values of the triplet is 1.
>>> countTriplet... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countTriplets ; -- Begin function countTriplets
.p2align 2
_countTriplets: ; @countTriplets
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/038_C_44/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: f90027e0 str x0, [sp, #0x48]
8: b90047e1 str w1, [sp, #0x44]
c: b900... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/038_C_44/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_countTriplets>:
318: d10143ff sub sp, sp, #0x50
31c: f90027e0 str x0, [sp, #0x48]
320: b90047e1 str w1, [sp, #0x44]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/038_C_44/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_countTriplets>:
100000328: d10143ff sub sp, sp, #0x50
10000032c: f90027e0 str x0, [sp, #0x48]
100000330: b90047e1 str w1, [sp, #0x44]... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _countTriplets ; -- Begin function countTriplets
.p2align 2
_countTriplets: ; @countTriplets
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/038_C_44/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10143ff sub sp, sp, #0x50
4: f90027e0 str x0, [sp, #0x48]
8: b90047e1 str w1, [sp, #0x44]
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_45 | #include <stdio.h>
#include <assert.h>
/*
You are given a 1 by n pixel image, where each pixel has a color represented by an integer. You can perform an operation where you pick a color and change all connected pixels of the same color to the chosen color. Two pixels are connected if they are adjacent and have the same... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _minOperations ; -- Begin function minOperations
.p2align 2
_minOperations: ; @minOperations
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded S... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/039_C_45/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9bf7bfd stp x29, x30, [sp, #-0x10]!
4: 910003fd mov x29, sp
8: d102c3ff sub sp, sp, #0xb0
c: 9000... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/039_C_45/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_minOperations>:
400: a9bf7bfd stp x29, x30, [sp, #-0x10]!
404: 910003fd mov x29, sp
408: d102c3ff sub sp, sp, #0xb0
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/039_C_45/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_minOperations>:
100000410: a9bf7bfd stp x29, x30, [sp, #-0x10]!
100000414: 910003fd mov x29, sp
100000418: d102c3ff sub sp, sp, #0xb0... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _minOperations ; -- Begin function minOperations
.p2align 2
_minOperations: ; @minOperations
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded S... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/039_C_45/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9bf7bfd stp x29, x30, [sp, #-0x10]!
4: 910003fd mov x29, sp
8: d102c3ff sub sp, sp, #0xb0
c: ... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_46 | #include <assert.h>
#include <stdio.h>
/*
Given an integer n, write a function to compute the sum of all numbers from 1 to n that are multiples of either 3 or 5. If a number is a multiple of both 3 and 5, it should only be counted once.
For example:
>>> sumOfMultiples(10)
33 // (3 + 5 + 6 + 9 + 10)
*/
int sumOf... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sumOfMultiples ; -- Begin function sumOfMultiples
.p2align 2
_sumOfMultiples: ; @sumOfMultiples
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/040_C_46/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9000bff str wzr, [sp, #0x8]
c: 52800... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/040_C_46/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_sumOfMultiples>:
318: d10043ff sub sp, sp, #0x10
31c: b9000fe0 str w0, [sp, #0xc]
320: b9000bff str wzr, [sp, #0x8]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/040_C_46/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_sumOfMultiples>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000fe0 str w0, [sp, #0xc]
100000330: b9000bff str wzr, [sp, #0x8]... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sumOfMultiples ; -- Begin function sumOfMultiples
.p2align 2
_sumOfMultiples: ; @sumOfMultiples
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/040_C_46/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9000bff str wzr, [sp, #0x8]
c: 5... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_47 | #include <assert.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Determine if a given string is a palindrome. A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward (ignoring spaces, punctuation, and capitalization).
>>> ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _isPalindrome ; -- Begin function isPalindrome
.p2align 2
_isPalindrome: ; @isPalindrome
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x29, x30, [sp, #48] ; 1... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/041_C_47/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10103ff sub sp, sp, #0x40
4: a9037bfd stp x29, x30, [sp, #0x30]
8: 9100c3fd add x29, sp, #0x30
c:... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/041_C_47/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000400 <_isPalindrome>:
400: d10103ff sub sp, sp, #0x40
404: a9037bfd stp x29, x30, [sp, #0x30]
408: 9100c3fd add x29, sp, #0x... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/041_C_47/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_isPalindrome>:
100000410: d10103ff sub sp, sp, #0x40
100000414: a9037bfd stp x29, x30, [sp, #0x30]
100000418: 9100c3fd add x29, sp, #... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _isPalindrome ; -- Begin function isPalindrome
.p2align 2
_isPalindrome: ; @isPalindrome
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x29, x30, [sp, #48] ; 1... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/041_C_47/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10103ff sub sp, sp, #0x40
4: a9037bfd stp x29, x30, [sp, #0x30]
8: 9100c3fd add x29, sp, #0x30
... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_48 | #include <assert.h>
#include <stdio.h>
/*
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.
For example:
>>> addDigits(38)
2
Because 3 + 8 = 11, and 1 + 1 = 2. Since 2 has only one digit, 2 is the result.
*/
int addDigits(int num){
while (num >= 10) {
... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _addDigits ; -- Begin function addDigits
.p2align 2
_addDigits: ; @addDigits
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
b ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/042_C_48/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: 14000001 b 0xc <ltmp0+0xc>
c: b9400fe... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/042_C_48/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_addDigits>:
318: d10043ff sub sp, sp, #0x10
31c: b9000fe0 str w0, [sp, #0xc]
320: 14000001 b 0x324 <_addDigits+0xc>
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/042_C_48/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_addDigits>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000fe0 str w0, [sp, #0xc]
100000330: 14000001 b 0x100000334 <_addDigit... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _addDigits ; -- Begin function addDigits
.p2align 2
_addDigits: ; @addDigits
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
b ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/042_C_48/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: 14000001 b 0xc <ltmp0+0xc>
c: b94... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_49 | #include <assert.h>
#include <stdbool.h>
#include <stdio.h>
/*
You are playing a game called Nim. In this game, you start with a pile of n stones, and you and your opponent take turns to remove 1 to 3 stones from the pile. The one who removes the last stone wins the game. Given the number of stones n, determine if you ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _canWinNim ; -- Begin function canWinNim
.p2align 2
_canWinNim: ; @canWinNim
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ld... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/043_C_49/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9400fe8 ldr w8, [sp, #0xc]
c: 528000... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/043_C_49/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_canWinNim>:
318: d10043ff sub sp, sp, #0x10
31c: b9000fe0 str w0, [sp, #0xc]
320: b9400fe8 ldr w8, [sp, #0xc]
32... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/043_C_49/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_canWinNim>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000fe0 str w0, [sp, #0xc]
100000330: b9400fe8 ldr w8, [sp, #0xc]
10000... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _canWinNim ; -- Begin function canWinNim
.p2align 2
_canWinNim: ; @canWinNim
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ld... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/043_C_49/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9400fe8 ldr w8, [sp, #0xc]
c: 52... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_5 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Calculate the distance between two points A (xa, ya) and B (xb, yb).
Parameters:
- xa (double): x-coordinate of point A.
- ya (double): y-coordinate of point A.
- xb (double): x-coordinate of point B.
- yb (double):... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_distance ; -- Begin function calculate_distance
.p2align 2
_calculate_distance: ; @calculate_distance
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/044_C_5/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: fd000fe0 str d0, [sp, #0x18]
8: fd000be1 str d1, [sp, #0x10]
c: fd000... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/044_C_5/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000310 <_calculate_distance>:
310: d10083ff sub sp, sp, #0x20
314: fd000fe0 str d0, [sp, #0x18]
318: fd000be1 str d1, [sp, #0x1... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/044_C_5/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_calculate_distance>:
100000328: d10083ff sub sp, sp, #0x20
10000032c: fd000fe0 str d0, [sp, #0x18]
100000330: fd000be1 str d1, [sp, #0... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_distance ; -- Begin function calculate_distance
.p2align 2
_calculate_distance: ; @calculate_distance
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/044_C_5/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: fd000fe0 str d0, [sp, #0x18]
8: fd000be1 str d1, [sp, #0x10]
c: f... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_50 | #include <assert.h>
#include <stdio.h>
/*
Given two integers a and b, return the sum if the sum is even, or return the product of a and b if the sum is odd.
>>> evenSumOrOddProduct(2, 3)
6
>>> evenSumOrOddProduct(5, 5)
10
*/
int evenSumOrOddProduct(int a, int b);int evenSumOrOddProduct(int a, int b) {
... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _evenSumOrOddProduct ; -- Begin function evenSumOrOddProduct
.p2align 2
_evenSumOrOddProduct: ; @evenSumOrOddProduct
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
s... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/045_C_50/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000be0 str w0, [sp, #0x8]
8: b90007e1 str w1, [sp, #0x4]
c: b9400b... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/045_C_50/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000318 <_evenSumOrOddProduct>:
318: d10043ff sub sp, sp, #0x10
31c: b9000be0 str w0, [sp, #0x8]
320: b90007e1 str w1, [sp, #0x... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/045_C_50/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_evenSumOrOddProduct>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000be0 str w0, [sp, #0x8]
100000330: b90007e1 str w1, [sp, #... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _evenSumOrOddProduct ; -- Begin function evenSumOrOddProduct
.p2align 2
_evenSumOrOddProduct: ; @evenSumOrOddProduct
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
s... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/045_C_50/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000be0 str w0, [sp, #0x8]
8: b90007e1 str w1, [sp, #0x4]
c: b9... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_6 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Find the factorial of N and take the modulo 10007 of the result.
β Parameters:
- N (int): An integer representing the input value (N <= 10000).
β Returns:
β int: The result after taking the modulo 10007 of the ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _process_request ; -- Begin function process_request
.p2align 2
_process_request: ; @process_request
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Fold... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/046_C_6/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0x10
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/046_C_6/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
00000000000003f8 <_process_request>:
3f8: a9be6ffc stp x28, x27, [sp, #-0x20]!
3fc: a9017bfd stp x29, x30, [sp, #0x10]
400: 910043fd add ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/046_C_6/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000410 <_process_request>:
100000410: a9be6ffc stp x28, x27, [sp, #-0x20]!
100000414: a9017bfd stp x29, x30, [sp, #0x10]
100000418: 910043fd ad... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _process_request ; -- Begin function process_request
.p2align 2
_process_request: ; @process_request
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Fold... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/046_C_6/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: a9be6ffc stp x28, x27, [sp, #-0x20]!
4: a9017bfd stp x29, x30, [sp, #0x10]
8: 910043fd add x29, sp, #0... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_7 | #include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
Calculate the area of a triangle given its base and height.
β Parameters:
- base (int): The base length of the triangle.
- height (int): The height of the triangle.
β Returns:
β float: The calculated area of th... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_triangle_area ; -- Begin function calculate_triangle_area
.p2align 2
_calculate_triangle_area: ; @calculate_triangle_area
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offs... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/047_C_7/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9000be1 str w1, [sp, #0x8]
c: b9400fe... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/047_C_7/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000310 <_calculate_triangle_area>:
310: d10043ff sub sp, sp, #0x10
314: b9000fe0 str w0, [sp, #0xc]
318: b9000be1 str w1, [sp, ... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/047_C_7/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_calculate_triangle_area>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000fe0 str w0, [sp, #0xc]
100000330: b9000be1 str w1, [sp... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _calculate_triangle_area ; -- Begin function calculate_triangle_area
.p2align 2
_calculate_triangle_area: ; @calculate_triangle_area
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offs... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/047_C_7/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9000be1 str w1, [sp, #0x8]
c: b94... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_8 | #include <assert.h>
#include <stdio.h>
/*
Calculate the Hamming distance between two integers in binary representation.
β Parameters:
- x (int): The first positive integer (x <= 1,000,000,000).
- y (int): The second positive integer (y <= 1,000,000,000).
β Returns:
β int: The Hamming distance between x and y, ... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hamming_distance ; -- Begin function hamming_distance
.p2align 2
_hamming_distance: ; @hamming_distance
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0,... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/048_C_8/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9000be1 str w1, [sp, #0x8]
c: b90007f... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/048_C_8/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000310 <_hamming_distance>:
310: d10043ff sub sp, sp, #0x10
314: b9000fe0 str w0, [sp, #0xc]
318: b9000be1 str w1, [sp, #0x8]
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/048_C_8/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_hamming_distance>:
100000328: d10043ff sub sp, sp, #0x10
10000032c: b9000fe0 str w0, [sp, #0xc]
100000330: b9000be1 str w1, [sp, #0x8]... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hamming_distance ; -- Begin function hamming_distance
.p2align 2
_hamming_distance: ; @hamming_distance
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0,... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/048_C_8/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #0xc]
8: b9000be1 str w1, [sp, #0x8]
c: b90... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
C_9 | #include <assert.h>
#include <stdarg.h>
/*
Count the number of odd integers in a given list of numbers.
Parameters:
- count (int): The count of numbers to evaluate.
- ... (int): A sequence of integers.
Returns:
int: The count of odd numbers in the input list.
>>> count_odd_numbers(5, 1, 4, 3, 2, 5)
... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_odd_numbers ; -- Begin function count_odd_numbers
.p2align 2
_count_odd_numbers: ; @count_odd_numbers
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/049_C_9/code.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #0x1c]
8: 910043e9 add x9, sp, #0x10
c: 910083e... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/049_C_9/code.dylib: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000310 <_count_odd_numbers>:
310: d10083ff sub sp, sp, #0x20
314: b9001fe0 str w0, [sp, #0x1c]
318: 910043e9 add x9, sp, #0x10
... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/049_C_9/code.program: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000100000328 <_count_odd_numbers>:
100000328: d10083ff sub sp, sp, #0x20
10000032c: b9001fe0 str w0, [sp, #0x1c]
100000330: 910043e9 add x9, sp, #0x1... | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _count_odd_numbers ; -- Begin function count_odd_numbers
.p2align 2
_count_odd_numbers: ; @count_odd_numbers
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w... |
/Users/alexander.pretko/McEval/generated_mceval_arm64_mac_reloc/O0/049_C_9/code.pic.o: file format mach-o arm64
Disassembly of section __TEXT,__text:
0000000000000000 <ltmp0>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #0x1c]
8: 910043e9 add x9, sp, #0x10
c: 910... | PROGRAM_ASM_V2
================================================================
SEMANTIC SECTION LAYOUT
================================================================
(no whitelisted semantic data sections present)
================================================================
DISASSEMBLY + RELOCATIONS
==========... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.