delete pics to save space

This commit is contained in:
2023-08-03 09:22:52 +08:00
commit de60cd6ed4
1334 changed files with 66221 additions and 0 deletions

18
1.1449.cpp Normal file
View File

@ -0,0 +1,18 @@
#include<cstdio>
typedef long long LL;
LL stk[1005]; int top;
LL now; char ch;
int main()
{
while(ch=getchar(),ch!='@')
{
if(ch>='0'&&ch<='9') now=now*10+ch-'0';
else if(ch=='.') stk[top++]=now,now=0;
else if(ch=='+') stk[top-2]+=stk[top-1],--top;
else if(ch=='-') stk[top-2]-=stk[top-1],--top;
else if(ch=='*') stk[top-2]*=stk[top-1],--top;
else if(ch=='/') stk[top-2]/=stk[top-1],--top;
}
printf("%lld\n",stk[0]);
return 0;
}