結果
問題 |
No.415 ぴょん
|
ユーザー |
![]() |
提出日時 | 2017-07-06 01:27:09 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 142 bytes |
コンパイル時間 | 1,401 ms |
コンパイル使用メモリ | 166,608 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-18 14:54:06 |
合計ジャッジ時間 | 2,158 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 |
ソースコード
#include <bits/stdc++.h> #define p(s) cout<<(s)<<endl using namespace std; int main(){ int N,D; cin>>N>>D; p(N/__gcd(N,D)-1); return 0; }