Miscellany
public text v1 · immutable#include <cstdlib>
#include <time.h>
#include <iostream>
#include <vector>
#include <list>
#include <stack>
using namespace std;
int main(int argc, char *argv[])
{
int x;
stack<string> s;
scanf ("%s", x);
while (x=*s++) {
switch (x) {
case '0': case '1': case '2':
case '3': case '4': case '5':
case '6': case '7': case '8': case '9': case '.': /* liczba */
push(atof(element));
break;