結果
| 問題 | No.442 和と積 | 
| コンテスト | |
| ユーザー |  nxteru | 
| 提出日時 | 2017-04-01 01:08:45 | 
| 言語 | C (gcc 13.3.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 153 bytes | 
| コンパイル時間 | 194 ms | 
| コンパイル使用メモリ | 27,520 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-07-07 14:54:52 | 
| 合計ジャッジ時間 | 1,105 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 11 WA * 7 | 
ソースコード
#include <stdio.h>
int main(void){
     long a,b,c;
  scanf("%ld%ld",&a,&b);
  while(a%b){
      c=a%b;
      a=b;
      b=c;
  }printf("%ld",b);
    
}
            
            
            
        