代码搜索:1241
找到约 284 项符合「1241」的源代码
代码结果 284
www.eeworm.com/read/339554/12225741
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/339553/12225863
gif 1241_2.gif
www.eeworm.com/read/339553/12225876
gif 1241_1.gif
www.eeworm.com/read/231652/14225201
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/229452/14338552
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/229452/14338554
c ads1241.c
#include
#include "ADS1241.h"
int ADS1241Init(void)
{
// 定义初始状态
P3OUT &= ~(ADS1241_SCLK | ADS1241_DIN);
P3OUT |= (ADS1241_CS);
// 方向
P3DIR = (ADS1241_
www.eeworm.com/read/121035/14771625
gif logo1241.gif
www.eeworm.com/read/216338/15018932
c max1241.c
/*************************************************
Digital voltmeter using an
Maxim MAX1241 ADC
connected to an AT90S8515
using the SPI bus
The measured voltage is transmitted