顺序查找之不高兴的津津 摘要:```c #include int main() { int a[7][2], b[7], num = 0, day; for (int i = 0; i < 7; i++) //输入7…… 题解列表 2023年01月19日 0 点赞 0 评论 343 浏览 评分:8.8
2903: 不高兴的津津c语言题解 摘要:解题思路:设立二维数组存储数据,在输入后用数组day[7]存判断循环中的时长最多的那天,最后判断时长是否大于8,然后输出。注意事项:参考代码:#include<stdio.h>int main(){ …… 题解列表 2023年12月13日 0 点赞 0 评论 235 浏览 评分:9.9
不高兴的津津(简单易懂!!!) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[8]; int b[8]; int i; for(i=1;i<=7;i++)…… 题解列表 2024年12月01日 0 点赞 0 评论 388 浏览 评分:9.9
不高兴的津津 摘要:解题思路:注意事项:若没有t不等于k的话,会输出后一天相等值的星期参考代码:#include<stdio.h>int main(){ int a,b,i,j=0,k,t=0; for(i=…… 题解列表 2024年11月28日 3 点赞 1 评论 219 浏览 评分:9.9
旧物有情 # 不高兴的津津 模拟题如何写的又快又准?答案是多练 摘要:``` #include using namespace std; int main(){ //认为最开始是开心的 bool happy=true; //记录学习…… 题解列表 2024年10月17日 0 点赞 0 评论 259 浏览 评分:9.9
~~~~~~~~~~~~~~~可爱的津津乐道+++++++++++ 摘要:解题思路://通过数组来存放数据,然后再拿来比较注意事项://如何判断那一天最不高兴参考代码:#include<stdio.h> int main() { int a[8]={[0]=0…… 题解列表 2024年07月30日 0 点赞 0 评论 275 浏览 评分:9.9
2903: 不高兴的津津 摘要:```cpp #include #include using namespace std; int main() { int day,arr1[8],arr2[8]; m…… 题解列表 2023年01月05日 0 点赞 0 评论 408 浏览 评分:9.9
不高兴的津津(简单版) 摘要: 话不多说直接看代码 #include int main() { int i,j=0; int w,e; int a[7]; int m…… 题解列表 2023年03月26日 0 点赞 1 评论 443 浏览 评分:9.9
不高兴的津津(C++实现,两种方法:vector容器和结构体数组) 摘要:解题思路:方法一:用两个vector容器,第一个存放对应日期的上课时间,再将第一个的上课时间大于8的元素存放到第二个vector容器中,对第二个容器进行升序排序操作,最后遍历第二个容器将容器出现的第一…… 题解列表 2023年06月05日 0 点赞 0 评论 587 浏览 评分:9.9
不高兴的津津 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a,b,c,maxday = 0,maxtime = 0;int main…… 题解列表 2023年07月17日 0 点赞 0 评论 298 浏览 评分:9.9