提交 97b7ef91 编写于 作者: 0xc004f210's avatar 0xc004f210

Update No.2.cpp

上级 6165dc7d
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b=0;
while(abs(a)!=250){
cin>>a;
b++;
if(abs(a)==250)
cout<<b;
if(abs(a)==250)
break;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册