标签:
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u
1
1
4
2
1 #include <stdio.h> 2 int main() 3 { 4 int n; 5 while (scanf("%d",&n)!=EOF) 6 { 7 if (n%2==0) 8 printf("%d\n",n/2); 9 else 10 printf("%d\n",n/2+1); 11 } 12 return 0; 13 }
A - Collective Mindsets (easy)
标签:
原文地址:http://www.cnblogs.com/haoabcd2010/p/5924894.html