summaryrefslogtreecommitdiff
path: root/12992/huatuo.c
diff options
context:
space:
mode:
Diffstat (limited to '12992/huatuo.c')
-rw-r--r--12992/huatuo.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/12992/huatuo.c b/12992/huatuo.c
new file mode 100644
index 0000000..58d4ea3
--- /dev/null
+++ b/12992/huatuo.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+int main(){
+ int n, j=0;
+ scanf("%d", &n);
+ while(n--){
+ j++;
+ int b;
+ scanf("%d", &b);
+ printf("Case #%d: %d\n", j, b*2-1);
+ }
+}