結果
問題 |
No.485 方程式のお勉強
|
ユーザー |
![]() |
提出日時 | 2017-12-04 20:34:37 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 283 bytes |
コンパイル時間 | 1,342 ms |
コンパイル使用メモリ | 27,648 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-28 04:30:31 |
合計ジャッジ時間 | 840 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
#include <stdio.h> double A,B; int main(){ scanf("%lf %lf", &A, &B); double x; x = B/A; int xa = B/A; if(xa==x){ printf("%d\n", xa); }else{ printf("NO\n"); } return 0; }