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";
} | .file "source.c"
.text
.section .rodata
.align 8
.LC0:
.string "Hello, MMCODEEVAL: Masssively Multilingual Code Evaluation"
.text
.globl hello_mmcodeeval
.type hello_mmcodeeval, @function
hello_mmcodeeval:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/000_C_1/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <hello_mmcodeeval>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rsp,%rbp
8: 48 ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/000_C_1/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d1 2f 00 00 mov 0x2fd1(%rip)... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/000_C_1/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(... |
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... | .file "source.c"
.text
.globl calculate_even_sum
.type calculate_even_sum, @function
calculate_even_sum:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movq %rdi, -24(%rbp)
movl %esi, -28(%rbp)
movl $0, -8(%rbp)
movl $0, -4(%rbp)... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/001_C_10/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <calculate_even_sum>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rsp,%rbp
8: ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/001_C_10/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d1 2f 00 00 mov 0x2fd1(%rip... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/001_C_10/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9... |
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,... | .file "source.c"
.text
.globl are_intervals_intersecting
.type are_intervals_intersecting, @function
are_intervals_intersecting:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/002_C_11/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <are_intervals_intersecting>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rsp,%rb... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/002_C_11/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d1 2f 00 00 mov 0x2fd1(%rip... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/002_C_11/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9... |
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... | .file "source.c"
.text
.globl extraNumber
.type extraNumber, @function
extraNumber:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/003_C_12/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <extraNumber>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rsp,%rbp
8: 89 7d f... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/003_C_12/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d1 2f 00 00 mov 0x2fd1(%rip... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/003_C_12/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9... |
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... | .file "source.c"
.text
.globl calculate_total_score
.type calculate_total_score, @function
calculate_total_score:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %e... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/004_C_13/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <calculate_total_score>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rsp,%rbp
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/004_C_13/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d1 2f 00 00 mov 0x2fd1(%rip... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/004_C_13/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9... |
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... | .file "source.c"
.text
.globl decode_numbers
.type decode_numbers, @function
decode_numbers:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
pushq %rbx
subq $88, %rsp
.cfi_offset 3, -24
movq %rdi, -88(%rbp)
movq %fs:40, %rax
mov... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/005_C_14/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <decode_numbers>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rsp,%rbp
8: 53 ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/005_C_14/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 c1 2f 00 00 mov 0x2fc1(%rip... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/005_C_14/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9... |
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... | .file "source.c"
.text
.globl count_coloring_methods
.type count_coloring_methods, @function
count_coloring_methods:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $4096, %rsp
orq $0, (%rsp)
subq $400, %rsp
movl %edi, -4484(... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/006_C_15/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <count_coloring_methods>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rsp,%rbp
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/006_C_15/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 c1 2f 00 00 mov 0x2fc1(%rip... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/006_C_15/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9... |
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... | .file "source.c"
.text
.globl count_valid_coin_toss_sequences
.type count_valid_coin_toss_sequences, @function
count_valid_coin_toss_sequences:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $704, %rsp
movl %edi, -692(%rbp)
m... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/007_C_16/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <count_valid_coin_toss_sequences>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rs... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/007_C_16/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 c1 2f 00 00 mov 0x2fc1(%rip... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/007_C_16/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9... |
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:
β ... | .file "source.c"
.text
.globl find_longest_consecutive_ones_length
.type find_longest_consecutive_ones_length, @function
find_longest_consecutive_ones_length:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movq %rdi, -24(%rbp)
movl... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/008_C_17/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <find_longest_consecutive_ones_length>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/008_C_17/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d1 2f 00 00 mov 0x2fd1(%rip... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/008_C_17/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9... |
C_18 | "#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <assert.h>\n/*\nCreates an I(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tcreate_id\n\t.type\tcreate_id, @function\ncreate_id:\n.LF(...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/009_C_18/code.o: fi(...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/009_C_18/code.so: f(...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_x86_linux/O0/009_C_18/code.program: (...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 33