結果
| 問題 | No.485 方程式のお勉強 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-27 14:11:03 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 230 bytes |
| 記録 | |
| コンパイル時間 | 1,034 ms |
| コンパイル使用メモリ | 210,512 KB |
| 実行使用メモリ | 9,972 KB |
| 最終ジャッジ日時 | 2026-07-04 06:41:39 |
| 合計ジャッジ時間 | 1,816 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 13 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef int64_t lint;
int main()
{
lint a,b;cin>>a>>b;
if(!a||b%a!=0){
cout<<"NO"<<endl;
}else{
cout<<b/a<<endl;
}
// system("pause");
}