#include <iostream>
using namespace std;
const int N = 1e3;
const string base = "0123456789ABCDEF";
string disks[N];
int n, s, l;
// 16进制字符转10进制数字
int to_int(char ch){
if(ch >= '0' && ch <= '9'){
return ch - '0';
}else{
return ch - 'A' + 10;
}
}
// 异或运算
void _xor(string& ans, string str){
for(int i = 0; i < str.size(); ++i){
int x = to_int(ans[i]);
int y = to_int(str[i]);
ccf 201903-3 损坏的RAID5
最新推荐文章于 2021-08-20 00:51:25 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)