結果

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

ソースコード

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++){
      if(i*5+j!=0) cout << i*5+j << endl;
    }
  }
  return 0;
}
0