結果
| 問題 |
No.816 Beautiful tuples
|
| コンテスト | |
| ユーザー |
bdisheoshepeha
|
| 提出日時 | 2019-06-25 15:32:07 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 327 bytes |
| コンパイル時間 | 1,313 ms |
| コンパイル使用メモリ | 157,408 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-22 23:56:58 |
| 合計ジャッジ時間 | 5,041 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 4 TLE * 1 -- * 9 |
ソースコード
#include<bits/stdc++.h>
#include<algorithm>
#define lint long long int
#define ldouble long double
using namespace std;
int main(){
lint a,b,c;
c=-1;
cin>>a>>b;
for(lint i=1;i<min(a,b);i++){
if(i%a==0&&i%b==0){
c=i;
break;
}
}
cout<<c<<endl;
return 0;
}
bdisheoshepeha