結果
| 問題 | No.734 Careful Engineer |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-25 17:21:04 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 309 bytes |
| 記録 | |
| コンパイル時間 | 119 ms |
| コンパイル使用メモリ | 37,568 KB |
| 最終ジャッジ日時 | 2026-02-22 13:25:07 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 4 |
| other | RE * 4 TLE * 1 -- * 8 |
ソースコード
#include <stdio.h>
void main(void){
long long int a,b,c;
scanf("%lld %lld %lld",&a,&b,&c);
a *= 60;
c *= 3600;
long long int count = 1;
if(a<=b){
printf("-1");
}else{
while(a*count < b*count+c){
count++;
}
printf("%lld",count);
}
}
Maeda