1.PASCALè¯è¨
2.Cè¯è¨çç»å
¸ç¼ç¨ä¾å
PASCALè¯è¨
顶楼çç¨åºåå¾æç¹é¿ã
æçç¨åºå¦ä¸ï¼
const p:array [0..] of integer=(0,源码整数的反码源码,,,,,,,,,,);
var a,b,c,t:integer;
begin
read(a,b,c); { ä¾æ¬¡è¯»å ¥å¹´ï¼æï¼æ¥}
if (a mod =0) or ((a mod 4=0) and (a mod <>0)) then
if b>2 then t:=p[b-1]+c+1 else t:=p[b-1]+c else t:=p[b-1]+c;
writeln(t);
end.
Cè¯è¨çç»å ¸ç¼ç¨ä¾å
//æç»å ¸çå½ç¶æ¯HelloWorldäºã
#include "stdio.h"
int main(void)
{
printf("HelloWorld!\r\n");
}