c語言問題找出同時被235整除並餘1的最小

2021-03-04 09:19:34 字數 596 閱讀 6367

1樓:手機使用者

#include "stdafx.h"

#include

using namespace std;

int main()

c++;

}while(i<10);

for(int j=0;j<10;j++)return 0;}

2樓:匿名使用者

能被2整除餘數為1的數必然是奇數;-------------------------1

能被5整除餘數為1的數末位

回必然是6或者1;-------------------2能被3整除餘數為1的數必然每位上答的數字總和為3的倍數+1;----3

結合1和2,3得到,末位必然為1。

值為:31,61,91,121,151,181,211,241,271,301,331,361。。。。

程式:#include

int main(void)

return 0;}

3樓:匿名使用者

#include

void main()

if(num>=10)break;}}

C語言問題C語言問題,C語言問題C語言問題

include include int main b k p b k 0 puts b return 0 c語言問題c語言問題 include int main int h,m scanf d d h,m printf s num h if m 0 else printf o clock print...

C語言問題,C語言問題C語言問題

這題考的是自動型別轉換,由編譯系統自動完成,轉換是 向上 靠的 舉個例子 include stdio.h void main 你編譯一下就會有警告 conversion from double to float possible loss of data 也就是說系統預設轉化了a,b的資料型別為do...

c語言問題,C語言問題

1 c2 a 3 d4 a 5 d6 b 7 a8 a9 d c語言問題 include define n 30 typedef struct student student r n int main void num 1 for i 0 ir max score max j if max i if...