結果
| 問題 |
No.485 方程式のお勉強
|
| コンテスト | |
| ユーザー |
Justinlam33
|
| 提出日時 | 2017-04-09 01:30:15 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 155 bytes |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 27,392 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-18 00:00:20 |
| 合計ジャッジ時間 | 828 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 4 |
| other | RE * 13 |
ソースコード
#include <stdio.h>
void main(){
int a,b;
scanf("%i %i",&a,&b);
if (a%b==0) {printf("%i",b/a);}
else if (b%a==0) {printf("%i",a/b);}
else {printf("NO");}
}
Justinlam33