C³ÌÐòÉè¼ÆÓïÑÔϰÌâ5-1£¬ÔËÐÐʱ³öÏֶδíÎó£¬Çó½â
Ô´´úÂëÈçÏ£º
#include <ctype.h>
#include <stdio.h>
#define BUFSIZE 100
int getch(void);
void ungetch(int);
/* getint: get next integer from input into *pn */
int getint(int *pn)
{
int c, sign, sawsign;
while (isspace(c = getch())) /* skip white space */
;
if (!isdigit(c) && c != EOF && c != '+' && c != '-') {
ungetch(c); /* it's not a number */
return 0;
}
sign = (c == '-') ? -1 : 1;
if (sawsign = (c == '+' || c == '-'))
c = getch();
if (!isdigit(c)) {
ungetch(c);
if (sawsign)
ungetch((sign == -1) ? '-' : '+');
return 0;
}
for (*pn = 0; isdigit(c); c = getch())
Ïà¹ØÎÊ´ð£º
QQȺ 29152388
ÓÑÇéUP
°ï¶¥
up
°ïup
up Ö§³Ö£¡
up jf
...ÄѵÀÓзÖ..?
up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£
Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ
¼ÓÁË¡£
¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......
µØµãÔÚÉîÛÚÄÏɽ
¡¡¡¡×öCÈí¼þ¡£ÊÔÓÃ2K£¬²»ÖªµÀתÕý¸ø¹«Ë¾Ì¸¶àÉÙºÏÊʰ¡£¿
¡¡¡¡ÁíÍ⣬±¾ÈËС±¾£¬Ó¢ÓïÁù¼¶£¬ÊÔÓÃÈý¸öÔ±íÏÖµÃÒ²ËãÖÐÉÏˮƽ¡£µ«ÊÇÏÖÔÚ»¹²»ÄÜ×öÏîÄ¿¡£ÁíÍâ±ÏҵѧУûÓÐÃûÆø¡£
¡¡¡¡×ªÕý¸ø¹«Ë¾Ì¸¶àÉ ......
ÏëÖªµÀÿÌõÖ¸Áî»òº¯ÊýµÄϵͳÏûºÄ¡£±ÈÈçϵͳִÐÐint a=0£»µÄ¿ªÏúÊǶàÉÙ¡£ÓÐûÓÐÀàËÆµÄÎĵµÖ®ÀàµÄ¡£²»ÒªºÍÎÒ˵ÓÃʲôclock()º¯ÊýÀ´²âÊÔ¡£ÎÒÏëÒªÏà¹Ø×ܽáºÃµÄÎĵµ
ÏÈ·´»ã±à,È»ºóÄÃ×ÅcpuµÄÖ¸ÁîÊÖ²á²éÿÌõÖ¸ÁîµÄʱ¼äÖÜÆÚ ......
int a ,b ,c ;
scanf("%c\n",&a);
scanf("%c\n",&b);
scanf("%c",&c); //ºÍÏÂÃæÒ»ÐÐÓÐÊ²Ã´Çø±ð£¿
//scanf("%c ......
¸¨Öúϵ¥Á÷³Ì£º
Ò»¡¢ÒÔijһ½»Òׯ·ÖÖgµÄµ±Ç°³É½»¼ÛPΪ»ù´¡£¬ÉÏ¡¢Ï¸÷À¿ªÒ»¶¨µãÊýxË«Ïò¹Òµ¥Tb£¨Âòµ¥£¬¹Òµ¥¼Û¸ñΪBp=P+x£©ºÍTs£¨Âôµ¥£¬¹Òµ¥¼Û¸ñΪSp=P- x£©£¬ÊýÁ¿¾ùΪn¡£Í¬Ê±£¬ÈÔÒÔPΪ»ù´¡£¬É趨TbµÄÖ¹ËðµãÊýLb=P-y ......