mlfoundations-dev/herorun1_code-test
收藏Hugging Face2025-03-02 更新2025-04-12 收录
下载链接:
https://hf-mirror.com/datasets/mlfoundations-dev/herorun1_code-test
下载链接
链接失效反馈官方服务:
资源简介:
这是一个使用Curator工具创建的代码翻译和计数配对的数据集。数据集中的样本是一段从Groovy语言翻译为C++的代码,该代码用于计算数组中数对之和能被给定整数k整除的个数。分析过程中涉及到理解Groovy代码并将其翻译为C++,同时考虑处理负数和确保余数的正确计算。
This is a dataset created with the Curator tool involving code translation and pair counting tasks. The samples in the dataset include code translated from Groovy to C++, which is used to count the number of pairs in an array whose sum is divisible by a given integer k. The analysis involves understanding the Groovy code and translating it into C++, considering the handling of negative numbers and ensuring the correct calculation of remainders.
提供机构:
mlfoundations-dev



