代码搜索:1241
找到约 284 项符合「1241」的源代码
代码结果 284
www.eeworm.com/read/246404/12728797
pas ac1241.pas
program tju1241;
var
n,t,i,s:longint;
begin
repeat
read(n);t:=trunc(sqrt(n));
s:=0;
for i:=1 to t do
inc(s,n div i);
writeln(s*2-t*t);
until seekeof;
end.
www.eeworm.com/read/246404/12729248
gif 1241_2.gif
www.eeworm.com/read/246404/12729254
gif 1241_1.gif
www.eeworm.com/read/246404/12729352
pas ac1241.pas
program tju1241;
var
n,t,i,s:longint;
begin
repeat
read(n);t:=trunc(sqrt(n));
s:=0;
for i:=1 to t do
inc(s,n div i);
writeln(s*2-t*t);
until seekeof;
end.
www.eeworm.com/read/310493/13650040
h ads1241.h
// P3.3
#define ADS1241_SCLK 0x08
// P3.0
#define ADS1241_CS 0x00
// P3.1
#define ADS1241_DIN 0x02
// P3.2
#define ADS1241_DOUT 0x04
// P1.0
#define ADS1241_DRDY 0x00
www.eeworm.com/read/310493/13650041
c ads1241.c
#include
#include "ADS1241.h"
int ADS1241Init(void)
{
// 定义初始状态
P3OUT &= ~(ADS1241_SCLK | ADS1241_DIN);
P3OUT |= (ADS1241_CS);
// 方向
P3DIR = (ADS1241_
www.eeworm.com/read/305565/13766296
prj max1241.prj
[Project]
Toolset=AVR
Files=1
Top0=-2106
Left0=54
Height0=395
Width0=858
Active0=0
State0=1
Top1=0
Left1=1
Height1=366
Width1=472
Row1=5
Collumn1=22
Active1=1
State1=0
OpenedFiles=1
www.eeworm.com/read/305565/13766297
c max1241.c
/*************************************************
Digital voltmeter using an
Maxim MAX1241 ADC
connected to an ATmega8515
using the SPI bus
The measured voltage is transmitted
www.eeworm.com/read/493722/6389420
pas ac1241.pas
program ural1241;
const
maxm=50;
maxn=50;
maxk=296;
type
int1=array[0..maxk+2]of integer;
int2=array[-maxn*2..(maxm+maxn)*2]of integer;
bool=array[-maxn*2..(maxm+maxn)*2]of boolean
www.eeworm.com/read/483047/6608149
h ads1241.h
// P3.3
#define ADS1241_SCLK 0x08
// P3.0
#define ADS1241_CS 0x00
// P3.1
#define ADS1241_DIN 0x02
// P3.2
#define ADS1241_DOUT 0x04
// P1.0
#define ADS1241_DRDY 0x00