結果
問題 |
No.485 方程式のお勉強
|
ユーザー |
|
提出日時 | 2024-03-27 14:09:14 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 230 bytes |
コンパイル時間 | 2,039 ms |
コンパイル使用メモリ | 193,188 KB |
最終ジャッジ日時 | 2025-02-20 14:02:07 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 7 WA * 6 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef int64_t lint; int main() { lint a,b;cin>>a>>b; if(!a||b%a!=1){ cout<<"NO"<<endl; }else{ cout<<b/a<<endl; } // system("pause"); }