Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
50504 | yangtianqi | 求和 | C++ | Compile Error | 0 MS | 0 KB | 175 | 2024-08-27 16:50:12 |
#include<bits/stdc++.h> using namespace std; int main() { int s,h,m,f,sum=0; char ch; cin>>s>>f>>m>>ch; if(ch=='p')s+=12 cout<<s*60*60+f*60+m; return 0; }