HDU 2.1.2
摘要:
/** * Author: Leo Hui * Last modified: 2012-03-28 22:16 * Filename: 22.c * Description: prime number */#include <stdio.h>#include <math.h>int isPrime(int n);int main(){ int n, sum; while (scanf("%d", &n) != EOF) { sum = 0; while (n--) { int a; scanf("%d", &a); 阅读全文
posted @ 2012-03-28 23:19 leohxj 阅读(184) 评论(0) 推荐(0) 编辑