結果

問題 No.542 1円玉と5円玉
ユーザー shiboy_AAA
提出日時 2017-07-14 22:27:52
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 213 bytes
コンパイル時間 488 ms
コンパイル使用メモリ 55,728 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-07 23:06:25
合計ジャッジ時間 986 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 4 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main(void){
  int a,b;
  cin >> a >> b;


  for(int i=0;i<=b;i++){
    for(int j=0;j<=a&&j<=4;j++){
      if(i*5+j!=0) cout << i*5+j << endl;
    }
  }
  return 0;
}
0