T2:农夫约翰的奶酪块
题目在这里!
题目能读懂,关键是三维的!砖头还可以随意旋转?!
题目模板给大家
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, q;
scanf("%d%d", &n, &q);
while (q--) {
int x, y, z;
scanf("%d%d%d", &x, &y, &z);
}
return 0;
}
T3: MOO时间到了
T3题目在这里!别略过!
题目也可以读懂,但是就这种题最恶心,不会做的无力感!
输入模板给大家(参考)
#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
int n, f;
scanf("%d%d", &n, &f);
cin >> s;
return 0;
}
哪位大佬可以帮我做出这两道题,解这两道题,昨天解到23:57,感激不尽!