結果
| 問題 |
No.2050 Speed
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-17 11:17:51 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 214 bytes |
| コンパイル時間 | 404 ms |
| コンパイル使用メモリ | 25,600 KB |
| 実行使用メモリ | 7,324 KB |
| 最終ジャッジ日時 | 2025-03-17 11:17:53 |
| 合計ジャッジ時間 | 1,532 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:19: warning: use of ‘ll’ length modifier with ‘e’ type character has either no effect or undefined behavior [-Wformat=]
4 | scanf("%lle %lle",&a,&b);
| ^
main.c:4:24: warning: use of ‘ll’ length modifier with ‘e’ type character has either no effect or undefined behavior [-Wformat=]
4 | scanf("%lle %lle",&a,&b);
| ^
main.c:4:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
4 | scanf("%lle %lle",&a,&b);
| ^~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
void main(void){
long double a , b ;
scanf("%lle %lle",&a,&b);
b = b * 60 * 60;
a *= 1000;
if(a > b){
printf("KoD");
}else if(a < b){
printf("blackyuki");
}else{
printf("same");
}
}
Maeda