mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-26 07:31:59 +00:00
7 lines
239 B (Stored with Git LFS)
JavaScript
7 lines
239 B (Stored with Git LFS)
JavaScript
exports.main = () => {
|
|
code = code.trim().split('\r\n').join('\n');
|
|
let outputCode = user_out.trim().split('\r\n').join('\n');
|
|
if (code.length >= 10 && code === outputCode) exit({ score: 100 });
|
|
else exit({ score: 0 });
|
|
};
|