# include # include int N; int judge(long x) { long i; int n; n = 1; if(x==2||x==3) return 1; for(i = 2; i 0…
Online+Judge 源代码
汇集 Online+Judge 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
# include # include int judge(long x) { long i; int n; n = 1; if(x==1||x==0) return 0; for(i = 2; i
# include int judge(int x) { int i; int n; n = 1; if(x==1||x==2) return 1; for(i = 2; i < x; i++) if(x%i==0) {…
# include # include int judge(long x) { long i; int n; n = 1; if(x==2||x==3) return 1; for(i = 2; i
#include long int a[10]; long int fac(int x) { int total = 1, s; for(s = 1;s = -1;j--) { if(x==0) {return 1;break;…
# include # include int judge(long x) { long i; int n; n = 1; if(x==2||x==3) return 1; for(i = 2; i
#include #include #include #include #include #include typedef struct winer { int x,y; struct wi…
#include #include #include using namespace std; void judge1(char *ch,int sort1); //judge1只是使输入的数是一个字节,judge2使输入的数是0--9中的…
/* * File: gymjudge.c * ---------------- * This program averages a set of five gymnastic scores. */ #include #include "genli…
char max( char i,char j ) { if( i > j ) return i; else return j; } int chartmp( char i,char j ) { if( i == j ) return …