結果
問題 |
No.485 方程式のお勉強
|
ユーザー |
![]() |
提出日時 | 2018-01-15 21:50:09 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 436 ms |
コンパイル使用メモリ | 55,776 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-24 03:29:42 |
合計ジャッジ時間 | 1,814 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 3 WA * 6 RE * 4 |
ソースコード
#include<iostream> #include<vector> #include<string> #include<cstdio> using namespace std; int main(){ int A,B,C; cin >> A >> B; C = B/A; if(B/C==0){ cout << C; } else{ cout << "NO"; } return 0; }