結果

問題 No.70 睡眠の重要性!
ユーザー koba-e964koba-e964
提出日時 2015-05-24 10:13:53
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 1,223 ms
コンパイル使用メモリ 144,300 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-20 11:12:18
合計ジャッジ時間 1,719 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

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