0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-26 21:12:01 +00:00
OI-codes/LibreOJ/4/data/spj.js

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 });
};