結果
| 問題 |
No.816 Beautiful tuples
|
| コンテスト | |
| ユーザー |
anonymouse777
|
| 提出日時 | 2019-04-19 21:34:44 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 236 bytes |
| コンパイル時間 | 575 ms |
| コンパイル使用メモリ | 58,148 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 16:56:30 |
| 合計ジャッジ時間 | 3,103 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 15 |
ソースコード
#include <iostream>
#include <cmath>
using namespace std;
int main(void){
long long a,b,c = -1;
cin >> a >> b;
for(long long i=0;i<a+b;i++){
if( (a+b)%i==0 ){
c = i;
}
}
cout << c;
}
anonymouse777