Online+Judge 源代码

汇集 Online+Judge 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

# 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…

源码文件

# 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 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 #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 …