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"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.section .rodata
.align 3
.LC0:
.string "Hello, MMCODEEVAL: Masssively Multilingual Code Evaluation"
.text
.align 1
.globl hello_mmcodeeval
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/000_C_1/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <hello_mmcodeeval>:
0: 1141 addi sp,sp,-16
2: e422 sd s0,8(sp)
4: 0800 addi s0,sp,16... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/000_C_1/code.so: file format elf64-littleriscv
Disassembly of section .text:
00000000000003c8 <deregister_tm_clones>:
3c8: 1141 addi sp,sp,-16
3ca: e422 sd s0,8(sp)
3cc: 0800 addi s0,... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/000_C_1/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000540 <.plt>:
540: 00002397 auipc t2,0x2
544: 41c30333 sub t1,t1,t3
548: a803be03 ld t3,-1408(t2) # 1fc0 <.go... |
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"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl calculate_even_sum
.type calculate_even_sum, @function
calculate_even_sum:
.LFB0:
.cfi_startproc
addi sp,sp,-48
.cfi_def_cfa_... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/001_C_10/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <calculate_even_sum>:
0: 7179 addi sp,sp,-48
2: f422 sd s0,40(sp)
4: 1800 addi s0,s... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/001_C_10/code.so: file format elf64-littleriscv
Disassembly of section .text:
00000000000003d0 <deregister_tm_clones>:
3d0: 1141 addi sp,sp,-16
3d2: e422 sd s0,8(sp)
3d4: 0800 addi s0... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/001_C_10/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000540 <.plt>:
540: 00002397 auipc t2,0x2
544: 41c30333 sub t1,t1,t3
548: a803be03 ld t3,-1408(t2) # 1fc0 <.g... |
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"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl are_intervals_intersecting
.type are_intervals_intersecting, @function
are_intervals_intersecting:
.LFB0:
.cfi_startproc
addi ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/002_C_11/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <are_intervals_intersecting>:
0: 1101 addi sp,sp,-32
2: ec22 sd s0,24(sp)
4: 1000 a... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/002_C_11/code.so: file format elf64-littleriscv
Disassembly of section .text:
00000000000003d8 <deregister_tm_clones>:
3d8: 1141 addi sp,sp,-16
3da: e422 sd s0,8(sp)
3dc: 0800 addi s0... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/002_C_11/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000540 <.plt>:
540: 00002397 auipc t2,0x2
544: 41c30333 sub t1,t1,t3
548: a803be03 ld t3,-1408(t2) # 1fc0 <.g... |
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"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl extraNumber
.type extraNumber, @function
extraNumber:
.LFB0:
.cfi_startproc
addi sp,sp,-32
.cfi_def_cfa_offset 32
sd s0,24(s... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/003_C_12/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <extraNumber>:
0: 1101 addi sp,sp,-32
2: ec22 sd s0,24(sp)
4: 1000 addi s0,sp,32
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/003_C_12/code.so: file format elf64-littleriscv
Disassembly of section .text:
00000000000003c8 <deregister_tm_clones>:
3c8: 1141 addi sp,sp,-16
3ca: e422 sd s0,8(sp)
3cc: 0800 addi s0... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/003_C_12/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000540 <.plt>:
540: 00002397 auipc t2,0x2
544: 41c30333 sub t1,t1,t3
548: a803be03 ld t3,-1408(t2) # 1fc0 <.g... |
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"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl calculate_total_score
.type calculate_total_score, @function
calculate_total_score:
.LFB0:
.cfi_startproc
addi sp,sp,-48
.cfi... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/004_C_13/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <calculate_total_score>:
0: 7179 addi sp,sp,-48
2: f422 sd s0,40(sp)
4: 1800 addi s... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/004_C_13/code.so: file format elf64-littleriscv
Disassembly of section .text:
00000000000003d0 <deregister_tm_clones>:
3d0: 1141 addi sp,sp,-16
3d2: e422 sd s0,8(sp)
3d4: 0800 addi s0... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/004_C_13/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000540 <.plt>:
540: 00002397 auipc t2,0x2
544: 41c30333 sub t1,t1,t3
548: a803be03 ld t3,-1408(t2) # 1fc0 <.g... |
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"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.section .rodata
.align 3
.LC0:
.word 1
.word 0
.word 0
.word 0
.word 1
.word 0
.word 1
.word 0
.word 2
.word 1
.text
.align 1
.glob... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/005_C_14/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <decode_numbers>:
0: 7159 addi sp,sp,-112
2: f486 sd ra,104(sp)
4: f0a2 sd s0,96(sp... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/005_C_14/code.so: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000510 <.plt>:
510: 00002397 auipc t2,0x2
514: 41c30333 sub t1,t1,t3
518: ae03be03 ld t3,-1312(t2) # 1ff0 <.got.pl... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/005_C_14/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000640 <.plt>:
640: 00002397 auipc t2,0x2
644: 41c30333 sub t1,t1,t3
648: 9683be03 ld t3,-1688(t2) # 1fa8 <.g... |
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"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl count_coloring_methods
.type count_coloring_methods, @function
count_coloring_methods:
.LFB0:
.cfi_startproc
addi sp,sp,-400
... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/006_C_15/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <count_coloring_methods>:
0: 7165 addi sp,sp,-400
2: e706 sd ra,392(sp)
4: e322 sd ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/006_C_15/code.so: file format elf64-littleriscv
Disassembly of section .plt:
00000000000004e0 <.plt>:
4e0: 00002397 auipc t2,0x2
4e4: 41c30333 sub t1,t1,t3
4e8: b103be03 ld t3,-1264(t2) # 1ff0 <.got.pl... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/006_C_15/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000600 <.plt>:
600: 00002397 auipc t2,0x2
604: 41c30333 sub t1,t1,t3
608: 9b03be03 ld t3,-1616(t2) # 1fb0 <.g... |
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"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl count_valid_coin_toss_sequences
.type count_valid_coin_toss_sequences, @function
count_valid_coin_toss_sequences:
.LFB0:
.cfi_s... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/007_C_16/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <count_valid_coin_toss_sequences>:
0: d4010113 addi sp,sp,-704
4: 2a113c23 sd ra,696(sp)
8: 2a813823 ... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/007_C_16/code.so: file format elf64-littleriscv
Disassembly of section .plt:
00000000000004e0 <.plt>:
4e0: 00002397 auipc t2,0x2
4e4: 41c30333 sub t1,t1,t3
4e8: b103be03 ld t3,-1264(t2) # 1ff0 <.got.pl... |
/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/007_C_16/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000600 <.plt>:
600: 00002397 auipc t2,0x2
604: 41c30333 sub t1,t1,t3
608: 9b03be03 ld t3,-1616(t2) # 1fb0 <.g... |
C_17 | "#include <assert.h>\n#include <math.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <string.(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/008_C_17/code.o: (...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/008_C_17/code.so: (...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/008_C_17/code.progr(...TRUNCATED) |
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.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/009_C_18/code.o: (...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/009_C_18/code.so: (...TRUNCATED) | "\n/home/alexanderpretko/CodeGeneration/MCEval/generated_mceval_riscv64_linux/O0/009_C_18/code.progr(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 38