<% this.title = '测试数据'; function getIcon(filename) { let a = { '.cpp': 'file code outline', '.c': 'file code outline', '.cs': 'file code outline', '.pas': 'file code outline', '.py': 'file code outline', '.js': 'file code outline', '.java': 'file code outline', '.hs': 'file code outline', '.vala': 'file code outline', '.lua': 'file code outline', '.rb': 'file code outline', '.vb': 'file code outline', '.ml': 'file code outline', '.in': 'file text outline', '.out': 'file text outline', '.ans': 'file text outline', '.txt': 'file text outline', '.md': 'file text outline', '.md': 'file text outline', '.docx': 'file word outline', '.odt': 'file word outline', '.xlsx': 'file excel outline', '.ods': 'file excel outline', '.pptx': 'file powerpoint outline', '.odp': 'file powerpoint outline', '.zip': 'file archive outline', '.7z': 'file archive outline', } for (let x in a) if (filename.endsWith(x)) return a[x]; return 'file outline'; } %> <% include header %>

测试点信息

<% include problem_testcases %>

文件列表

<% if (testdata) { %> <% if (problem.allowedEdit) { %> <% } %> <% if (testdata.zip) { %> <% if (problem.allowedEdit) { %> <% } %> <% } %> <% let i = 0; %> <% if (testdata.files) for (let file of testdata.files) { %> <% i++; %> <% if (problem.allowedEdit) { %> <% } %> <% } %>
文件名 文件大小 下载删除
完整数据包 <%- !testdata.zip.size ? '' : syzoj.utils.formatSize(testdata.zip.size) %>
<%= file.filename %> <%= syzoj.utils.formatSize(file.size) %>
<% } else { %>

无测试数据

<% } %> <% if (problem.allowedEdit) { %>
提交
返回题目
<% } %>
<% include footer %>