作者showgood (小猪少棒)
看板ESOE-99
标题[课业] 一支只属於叶世"半"的C++程式..
时间Tue Apr 19 22:35:12 2011
可能有很多人没空看FB 所以这里再PO一次
顺便可以赚赚P币 XDD~
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int i;
cout<<"输入老胖子的排名\n";
cout<<"卷";
cin>>i;
if(i==1){
cout<<"老胖子说:\n";
cout<<"好险没GG\n";}
else{
cout<<"老胖子说:\n";
cout<<"干!!!!GG了\n";}
system("pause");
return 0;
}
编译器表示
1成功 0错误 0警告 原着 孟勳哥 Good Job !!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.241.206
※ 编辑: showgood 来自: 140.112.241.206 (04/19 22:39)
1F:→ germany1301:根本没用到cmath 多引入浪费系统资源 冗程式 劣退。 04/20 23:22