Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_867_94_23281.cpp: In function 'int main()':
1_867_94_23281.cpp:14:46: error: 'k' was not declared in this scope
         if(ans%2==1) printf("Case %d: odd\n",k);
                                              ^
1_867_94_23281.cpp:15:39: error: 'k' was not declared in this scope
         else printf("Case %d: even\n",k);
                                       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-28 14:23:01, Gzip enabled