#include using namespace std; int main(int argc, char** argv) { long long int a; while(cin>>a) { long long int b=a; while(b>0) {哈哈沒刪掉我 cout<<"=_=|||"<<endl; b-=1; } } return 0; }
另解
#include <iostream> using namespace std ; int main () { long long int a,i; while(cin>>a) { for(i=1; i<=a; ++i) cout<<"=_=|||"<<endl; } }
____________________________________________________________________________________________________________________________________________________
t(0 < t < 2.1 * 10^10)
int不夠
雖然測資沒有超過int的l範圍
但我還是用了long long
測資不只一筆(雖然題目沒講
但還是得用while迴圈
(AC)