|
|
вернуться в форумWhy my program wrong answer? #include <stdio.h> long a[4]={10,670,6160,518650}; int n; void init() { scanf("%d",&n); } int main() { init(); printf("%ld",a[n/2-1]); return 0; } Re: Why my program wrong answer? >Would you please recalculate the four numbers? You should :) Re: Why my program wrong answer? Послано Hany 30 авг 2003 18:48 That is cheating answer the problem by logic. |
|
|