快开学了,今天开始按照老师的要求整理pta上的编程题,可多了。
#include<iostream> using namespace std; int main(){ cout<<"Talk is cheap. Show me the code."<<endl; return 0; }
#include<iostream> using namespace std; int main(){ int a; int b; int c;//输入长宽高 cin>>a>>b>>c; cout<<a*b*c<<endl; return 0; }
#include <iostream> using namespace std; int main() { double a, b, c; int t; cin >> a >> t >> b; if (t) c = a * 1.26; else c = a * 2.455; printf("%.2f %s", c, (c > b ? "T_T" : "^_^")); return 0; }
标签:std,7.30,include,int,namespace,using,main From: https://www.cnblogs.com/xuxingkai/p/17592069.html