結果

問題 No.70 睡眠の重要性!
ユーザー koba-e964
提出日時 2015-05-24 10:13:53
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 1,138 ms
コンパイル使用メモリ 159,960 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-06 06:38:56
合計ジャッジ時間 1,560 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main(){
int n;cin>>n;
int s =0;
for(int i=0;i<n;i++){
int h,m,q,w;
string d1,d2;
cin>>h>>d1>>m>>q>>d2>>w;
int d = (q -h) * 60 + w - m;
d +=1440;
d%=1440;
s+=d;
}
cout<<s<<endl;
}
0