OpenJudge
eRicardo
这个作者很懒,什么都没留下…
展开
-
OpenJudge1.3 答案
01:A+B问题#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]){ int a,b,c; scanf("%d %d",&a,&b); c=a+b; p原创 2022-04-29 12:29:54 · 3531 阅读 · 0 评论 -
Openjudge 1.1答案
01:Hello, World!#include <stdio.h>#include <stdlib.h>#include <stdbool.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(){ printf("Hello, World!\n"); return 0;}0原创 2022-03-08 16:22:21 · 6898 阅读 · 0 评论 -
OpenJudge1.4答案
01:判断数正负#include <stdio.h>#include <stdlib.h>#include <math.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]){ long N; scanf("%ld",&N); i原创 2022-01-13 19:47:16 · 4248 阅读 · 1 评论 -
OpenJudge1.6答案
01:与指定数字相同的数的个数#include <stdio.h>#include <math.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]){ int n,medium,m[100],i=1原创 2022-01-12 20:35:58 · 6679 阅读 · 0 评论 -
Open judge1.5答案
01:求平均年龄#include <stdio.h>#include <stdlib.h>#include <math.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]){ int n,count=0,ages=0,middle=0;原创 2022-01-12 15:18:49 · 3355 阅读 · 0 评论