結果
| 問題 |
No.1236 長針と短針
|
| コンテスト | |
| ユーザー |
57tggx
|
| 提出日時 | 2020-10-17 16:06:08 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 248 bytes |
| コンパイル時間 | 630 ms |
| コンパイル使用メモリ | 66,976 KB |
| 最終ジャッジ日時 | 2025-01-15 10:55:39 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 20 |
ソースコード
#include <iostream>
int main(){
int a, b, t;
std::cin >> a >> b;
t = ((a % 12) * 60 + b) * 60;
for(int i = 0;; i += 43200){
std::cout << i / 11 << std::endl;
if(t * 11 <= i){
std::cout << i / 11 - t << std::endl;
return 0;
}
}
}
57tggx