首页
DreamJudge
院校信息
考研初试
考研复试
保研专区
讨论区
兑换中心
登录
注册
上岸
以下题解仅供学习参考使用。
抄袭、复制题解,以达到刷AC率/AC数量或其他目的的行为,在N诺是严格禁止的。
N诺非常重视学术诚信。此类行为将会导致您成为作弊者。具体细则请查看N诺社区规则。
winner748
2026年2月11日 11:13
偷菜时间表 题解:
P1053
回复 0
|
赞 0
|
浏览 42
#include<bits/stdc++.h> using namespace std; int main(){ int n; int hour,minute; cin >> n; while(n--){ scanf("%d:%d",&hour,&minute); hour += 13...
bro
2026年2月6日 13:21
偷菜时间表 题解:c++
P1053
回复 0
|
赞 0
|
浏览 52
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; while(n--){ int hour = 13; int min = 15; int thour,tmin;  ...
mlx
2026年2月3日 22:33
偷菜时间表 题解:
P1053
回复 0
|
赞 0
|
浏览 58
#include<iostream> #include<vector> #define h first #define m second using namespace std; int n; int current_hour=13,current_minute=15; vector<pair<int,int>> a; int main() { cin>>n; while(n--) { int hour,minute; scanf("%d:%d",&hour,&...
kawhileo
2026年1月31日 12:09
偷菜时间表 题解:
P1053
回复 0
|
赞 4
|
浏览 81
#include<bits/stdc++.h> using namespace std; int main(){//用取模去控制进制 int n,h=0,m=0; scanf("%d",&n); while(n>0){ h=0,m=0; scanf("%d:%d",&h,&m);//直接把格式写在...
曾不会
2026年1月25日 20:49
偷菜时间表 题解:准备偷菜没
P1053
回复 0
|
赞 1
|
浏览 121
#include<stdio.h> #include<string.h> using namespace std; int main() { int n; scanf("%d",&n); for(int i=0;i<n;i++) { int h,m;  ...
cczz
2025年8月5日 19:28
偷菜时间表 题解:
P1053
回复 0
|
赞 2
|
浏览 580
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; while(n -- > 0){ int minu = (13*60 + 15); int h, m; scanf("%d:%d", &h, &m); minu += (h*60 + m); m = minu % 60; h = (minu/60) % 24; printf("%d:%d\n", h, m); ...
波耶菠萝蜜
2025年7月29日 11:59
偷菜时间表 题解:
P1053
回复 0
|
赞 0
|
浏览 561
重点在于变换 用/%其实是最快的,想试试函数调用hhhh #include<stdio.h> int change(int mintue); int remians(int mintue); int main(){ int n=0; scanf("%d",&n); int minute,hour; for (int i=0;i<n;i++) { ...
AiLanKeSi
2025年3月13日 17:47
偷菜时间表 题解:使用一个小时数组+分钟超60进位
P1053
回复 0
|
赞 1
|
浏览 1.1k
#include <iostream> using namespace std; int hour_time[24] = {13,14,15,16,17,18,19,20,21,22,23,0,1,2,3,4,5,6,7,8,9,10,11,12}; int main() { int types; scanf("%d",&types); int hours,minutes; whil...
yeee700
2025年3月11日 13:29
偷菜时间表 题解:
P1053
回复 0
|
赞 3
|
浏览 1.1k
#include<stdio.h> int main(){ int n; scanf("%d",&n); for(int i=0;i<n;i++){ int hours; int minutes; scanf("%d:%d",&...
chenxx
2025年2月27日 20:14
偷菜时间表 题解:
P1053
回复 0
|
赞 6
|
浏览 1.2k
#include <bits/stdc++.h> using namespace std; int main() { int n; int h,m; cin>>n; for(int i=0;i<n;i++){ scanf("%d:%d",&h,&m); &nbs...
1
2
3
4
题目
偷菜时间表
题解数量
31
发布题解
在线答疑
热门题解
1
偷菜时间表(模拟) 题解:
2
偷菜时间表 题解:
3
偷菜时间表 题解:
4
偷菜时间表 题解:
5
偷菜时间表 题解:
6
给出时与分,求某时刻经过该时分后是几点
7
偷菜时间表 详细注释 秒懂
8
暴力。注意分钟增加引起的小时、天变化问题
9
偷菜时间表 题解:c
10
偷菜时间表 题解: