首页
DreamJudge
院校信息
考研初试
考研复试
保研专区
讨论区
兑换中心
登录
注册
上岸
以下题解仅供学习参考使用。
抄袭、复制题解,以达到刷AC率/AC数量或其他目的的行为,在N诺是严格禁止的。
N诺非常重视学术诚信。此类行为将会导致您成为作弊者。具体细则请查看N诺社区规则。
曾不会
2026年2月5日 14:38
ZOJ 题解:
P1324
回复 0
|
赞 0
|
浏览 33
#include<stdio.h> #include<string.h> int main() { char s[110]; scanf("%s",s); int l=strlen(s); int countz=0; int counto=0; int countj=0; &...
lielie
2023年6月24日 11:21
签到
P1324
回复 0
|
赞 1
|
浏览 1.3k
// 一个数组存储三个值,记录ZOJ的个数 #include <iostream> #include <vector> using namespace std; int main() { string s; cin >> s; vector<int> counts(3, 0); // Initialize a vector with 3 zeros for Z, O, J for (char c : s) { if (c == 'Z') { ...
题目
ZOJ
题解数量
2
发布题解
在线答疑
热门题解
1
签到
2
ZOJ 题解: