提交记录 21533


用户 题目 状态 得分 用时 内存 语言 代码长度
liswt wc2017b2. 【WC2017】挑战-任务2 Compile Error 0 0 ns 0 KB C++17 272 B
提交时间 评测时间
2024-04-12 12:00:10 2024-04-12 12:00:11
void solve(int n, int q, char *s1, char *s2, int *q_x, int *q_y, int *q_len, unsigned *ans) {
	int s[3000000];
        s[0]=s1[0]<s2[0]&&s2[0]!=2;
        for(int i=1;i<n;i++)s[i]=s[i-1]+(s1[0]<s2[0]&&s2[0]!=2);
        for(int i=0;i<q;i++)ans[i]=s[q_y]-s[max(0,q_x-1)];
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2024-05-06 03:11:22 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用