task_name string | source_code string | compiler_asm string | object_asm string | shared_asm string | program_asm 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";
} | .arch armv8-a
.file "source.c"
.text
.section .rodata
.align 3
.LC0:
.string "Hello, MMCODEEVAL: Masssively Multilingual Code Evaluation"
.text
.align 2
.global hello_mmcodeeval
.type hello_mmcodeeval, %function
hello_mmcodeeval:
.LFB0:
.cfi_startproc
adrp x0, .LC0
add x0, x0, :lo12:.LC0
ret
.cfi_endproc... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/000_C_1/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <hello_mmcodeeval>:
0: 90000000 adrp x0, 0 <hello_mmcodeeval>
4: 91000000 add x0, x0, #0x0
8: d65f03c0 ret
|
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/000_C_1/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000418 <_init>:
418: d503201f nop
41c: a9bf7bfd stp x29, x30, [sp, #-16]!
420: 910003fd mov x29, sp
424: 94000013 bl 470 <call_weak_fn>
42... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/000_C_1/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000580 <_init>:
580: d503201f nop
584: a9bf7bfd stp x29, x30, [sp, #-16]!
588: 910003fd mov x29, sp
58c: 9400002a bl 634 <call_weak_fn... |
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... | .arch armv8-a
.file "source.c"
.text
.align 2
.global calculate_even_sum
.type calculate_even_sum, %function
calculate_even_sum:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 24]
str wzr, [sp, 28]
b .L2
.L4:
ldrsw x0, [sp, 28]
lsl x0, x0, 2
l... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/001_C_10/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <calculate_even_sum>:
0: d10083ff sub sp, sp, #0x20
4: f90007e0 str x0, [sp, #8]
8: b90007e1 str w1, [sp, #4]
c: b9001bff st... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/001_C_10/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000418 <_init>:
418: d503201f nop
41c: a9bf7bfd stp x29, x30, [sp, #-16]!
420: 910003fd mov x29, sp
424: 94000013 bl 470 <call_weak_fn>
4... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/001_C_10/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000580 <_init>:
580: d503201f nop
584: a9bf7bfd stp x29, x30, [sp, #-16]!
588: 910003fd mov x29, sp
58c: 9400002a bl 634 <call_weak_f... |
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,... | .arch armv8-a
.file "source.c"
.text
.align 2
.global are_intervals_intersecting
.type are_intervals_intersecting, %function
are_intervals_intersecting:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
str w2, [sp, 4]
str w3, [sp]
ldr w1, [sp, 4]
ldr w0, [sp, ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/002_C_11/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <are_intervals_intersecting>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #12]
8: b9000be1 str w1, [sp, #8]
c: b90... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/002_C_11/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000420 <_init>:
420: d503201f nop
424: a9bf7bfd stp x29, x30, [sp, #-16]!
428: 910003fd mov x29, sp
42c: 94000015 bl 480 <call_weak_fn>
4... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/002_C_11/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000580 <_init>:
580: d503201f nop
584: a9bf7bfd stp x29, x30, [sp, #-16]!
588: 910003fd mov x29, sp
58c: 9400002a bl 634 <call_weak_f... |
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... | .arch armv8-a
.file "source.c"
.text
.align 2
.global extraNumber
.type extraNumber, %function
extraNumber:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
str w2, [sp, 4]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
cmp w1, w0
bne .L2
ldr w0, [sp, 4]
b .L3
.L2:
ldr ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/003_C_12/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <extraNumber>:
0: d10043ff sub sp, sp, #0x10
4: b9000fe0 str w0, [sp, #12]
8: b9000be1 str w1, [sp, #8]
c: b90007e2 str w2, ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/003_C_12/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000418 <_init>:
418: d503201f nop
41c: a9bf7bfd stp x29, x30, [sp, #-16]!
420: 910003fd mov x29, sp
424: 94000013 bl 470 <call_weak_fn>
4... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/003_C_12/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000580 <_init>:
580: d503201f nop
584: a9bf7bfd stp x29, x30, [sp, #-16]!
588: 910003fd mov x29, sp
58c: 9400002a bl 634 <call_weak_f... |
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... | .arch armv8-a
.file "source.c"
.text
.align 2
.global calculate_total_score
.type calculate_total_score, %function
calculate_total_score:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 28]
str w1, [sp, 24]
str w2, [sp, 20]
str w3, [sp, 16]
str w4, [sp, 12]
ldr w1, [sp, 28]
ldr... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/004_C_13/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <calculate_total_score>:
0: d10083ff sub sp, sp, #0x20
4: b9001fe0 str w0, [sp, #28]
8: b9001be1 str w1, [sp, #24]
c: b90017e... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/004_C_13/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000420 <_init>:
420: d503201f nop
424: a9bf7bfd stp x29, x30, [sp, #-16]!
428: 910003fd mov x29, sp
42c: 94000015 bl 480 <call_weak_fn>
4... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/004_C_13/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000580 <_init>:
580: d503201f nop
584: a9bf7bfd stp x29, x30, [sp, #-16]!
588: 910003fd mov x29, sp
58c: 9400002a bl 634 <call_weak_f... |
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... | .arch armv8-a
.file "source.c"
.text
.align 2
.global decode_numbers
.type decode_numbers, %function
decode_numbers:
.LFB0:
.cfi_startproc
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, 80]
.cfi_offset 29, -32
.cfi_offset 30, -24
add x29, sp, 80
str x19, [sp, 96]
.cfi_offset 19, -16
str x0,... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/005_C_14/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <decode_numbers>:
0: d101c3ff sub sp, sp, #0x70
4: a9057bfd stp x29, x30, [sp, #80]
8: 910143fd add x29, sp, #0x50
c: f90033f... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/005_C_14/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000550 <_init>:
550: d503201f nop
554: a9bf7bfd stp x29, x30, [sp, #-16]!
558: 910003fd mov x29, sp
55c: 9400001d bl 5d0 <call_weak_fn>
5... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/005_C_14/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000678 <_init>:
678: d503201f nop
67c: a9bf7bfd stp x29, x30, [sp, #-16]!
680: 910003fd mov x29, sp
684: 9400003c bl 774 <call_weak_f... |
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... | .arch armv8-a
.file "source.c"
.text
.align 2
.global count_coloring_methods
.type count_coloring_methods, %function
count_coloring_methods:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x13, 4480
sub sp, sp, x13
.cfi_def_cfa_... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/006_C_15/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <count_coloring_methods>:
0: a9bf7bfd stp x29, x30, [sp, #-16]!
4: 910003fd mov x29, sp
8: d282300d mov x13, #0x1180 ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/006_C_15/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000520 <_init>:
520: d503201f nop
524: a9bf7bfd stp x29, x30, [sp, #-16]!
528: 910003fd mov x29, sp
52c: 94000019 bl 590 <call_weak_fn>
5... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/006_C_15/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000640 <_init>:
640: d503201f nop
644: a9bf7bfd stp x29, x30, [sp, #-16]!
648: 910003fd mov x29, sp
64c: 9400003a bl 734 <call_weak_f... |
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... | .arch armv8-a
.file "source.c"
.text
.align 2
.global count_valid_coin_toss_sequences
.type count_valid_coin_toss_sequences, %function
count_valid_coin_toss_sequences:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
sub sp, sp, #688
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/007_C_16/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <count_valid_coin_toss_sequences>:
0: a9bf7bfd stp x29, x30, [sp, #-16]!
4: 910003fd mov x29, sp
8: d10ac3ff sub sp, sp, #0x2b0
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/007_C_16/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000528 <_init>:
528: d503201f nop
52c: a9bf7bfd stp x29, x30, [sp, #-16]!
530: 910003fd mov x29, sp
534: 94000017 bl 590 <call_weak_fn>
5... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/007_C_16/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000640 <_init>:
640: d503201f nop
644: a9bf7bfd stp x29, x30, [sp, #-16]!
648: 910003fd mov x29, sp
64c: 9400003a bl 734 <call_weak_f... |
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:
... | .arch armv8-a
.file "source.c"
.text
.align 2
.global find_longest_consecutive_ones_length
.type find_longest_consecutive_ones_length, %function
find_longest_consecutive_ones_length:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 24]
str wzr, [sp, 28]
b .L2
.L6:
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/008_C_17/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <find_longest_consecutive_ones_length>:
0: d10083ff sub sp, sp, #0x20
4: f90007e0 str x0, [sp, #8]
8: b9001bff str wzr, [sp, #24... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/008_C_17/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000430 <_init>:
430: d503201f nop
434: a9bf7bfd stp x29, x30, [sp, #-16]!
438: 910003fd mov x29, sp
43c: 94000015 bl 490 <call_weak_fn>
4... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/008_C_17/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000580 <_init>:
580: d503201f nop
584: a9bf7bfd stp x29, x30, [sp, #-16]!
588: 910003fd mov x29, sp
58c: 9400002a bl 634 <call_weak_f... |
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... | .arch armv8-a
.file "source.c"
.text
.align 2
.global create_id
.type create_id, %function
create_id:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
bl strlen
str w0, [sp, 44]
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/009_C_18/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <create_id>:
0: a9bc7bfd stp x29, x30, [sp, #-64]!
4: 910003fd mov x29, sp
8: f9000fe0 str x0, [sp, #24]
c: f9000be1 str x1,... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/009_C_18/code.so: file format elf64-littleaarch64
Disassembly of section .init:
00000000000004c8 <_init>:
4c8: d503201f nop
4cc: a9bf7bfd stp x29, x30, [sp, #-16]!
4d0: 910003fd mov x29, sp
4d4: 9400001b bl 540 <call_weak_fn>
4... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_arm64_linux/O0/009_C_18/code.program: file format elf64-littleaarch64
Disassembly of section .init:
00000000000005f8 <_init>:
5f8: d503201f nop
5fc: a9bf7bfd stp x29, x30, [sp, #-16]!
600: 910003fd mov x29, sp
604: 9400003c bl 6f4 <call_weak_f... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 12