結果
| 問題 |
No.1223 I hate Golf
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-11 14:20:18 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 175 bytes |
| コンパイル時間 | 417 ms |
| コンパイル使用メモリ | 24,448 KB |
| 実行使用メモリ | 7,328 KB |
| 最終ジャッジ日時 | 2025-03-11 14:20:20 |
| 合計ジャッジ時間 | 1,436 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 4 WA * 8 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%d %d %d",&a,&b,&c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
void main(void){
int a = 0 , b = 0 , c = 0;
scanf("%d %d %d",&a,&b,&c);
if(a/b >= c){
printf("Yes");
}else{
printf("No");
}
}
Maeda