|
|
вернуться в форум1001 how to know when there are no more inputs Re: 1001 Послано fahim- 24 дек 2025 20:08 Just use a while loop like this: while( cin >> a ) and then push_back it in a vector and output the solution. Re: 1001 Послано Egor 24 фев 2026 00:58 while (scanf("%lf", &stack[++top]) != EOF); or while ((tmp = getchar()) != EOF) |
|
|