結果
| 問題 | 
                            No.1236 長針と短針
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kpinkcat
                         | 
                    
| 提出日時 | 2023-08-28 12:50:51 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 343 bytes | 
| コンパイル時間 | 787 ms | 
| コンパイル使用メモリ | 99,672 KB | 
| 最終ジャッジ日時 | 2025-02-16 15:19:30 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 20 | 
ソースコード
#include<iostream>
#include<map>
#include<vector>
#include <algorithm>
#include<math.h>
#include <iomanip>
#include<set>
#include <numeric>
#include<string>
using namespace std;
int main()
{
    int a, b, ds;
    cin >> a >> b;
    double l, s;
    a = a*300 + b*5;
    b = b*60;
    ds = ((a+3600 - b)%3600)*60/55;
    cout << ds << endl;
}
            
            
            
        
            
kpinkcat