C/C++の宿題を片付けます 105代目at TECHC/C++の宿題を片付けます 105代目 - 暇つぶし2ch177:デフォルトの名無しさん 08/04/20 21:21:58 >>175 aとbを入力する場合 #include <stdio.h> int main(void) { int a, b; scanf("%d", &a); scanf("%d", &b); a -= b * 9; if(a < 0) return 0; printf("チーム数:%d\nあまり:%d\n", a / 6, a % 6); return 0; } 次ページ続きを表示1を表示最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch