记录帖

ykj12 2022-05-08 15:56:20 2022-05-15 16:44:03 1

https://sustoj.com/

做个记录,不要复制!不要复制!不要复制!

#include<bits/stdc++.h>
using namespace std;
int main(){
	string input;
	char c1,c2,c3,c4;
	int n;
	while(true){
		puts("Please enter instructions:");
		cout<<" >> ";
		cin>>input;
		cout<<endl<<endl;
		cout<<"Instruction reading completed! Ready to run!"<<cout<<endl;
		_sleep(500);
		cout<<"Please enter data (integer) :";
		cout<<" >> ";
		cin>>n;
		for(int i=1;i<=n;i++){
			int m,k,mk;
			cout<<"Intrusion host coordinates : ";
			scanf("%d,%d,%d",&m,&k,&mk);
			_sleep(500);
			cout<<"The host with coordinate "<<m<<","<<k<<","<<mk<<","<<" has been invaded!"<<endl<<endl;
			_sleep(500);
			cout<<endl;
		}
		cout<<"Completed!";
		for(int i=1;i<=10;i++) cout<<endl;
		_sleep(200);
	}
	return 0;
}

不要评论!!

{{ vote && vote.total.up }}