这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《暴力可得六十分》回复:
@[Alpha](/space/show?uid=87058) 那高精度就先放放吧
在讨论《暴力可得六十分》回复:
@[Alpha](/space/show?uid=87058) $感谢指教$
在讨论《暴力可得六十分》回复:
@[Alpha](/space/show?uid=87058) 请问用高精度可以不超时吗
在讨论《暴力可得六十分》回复:
@[Alpha](/space/show?uid=87058) 不太会.... 还是比较喜欢暴力 暴力出奇迹
#include #define P signed #define ll long long using namespace std ; ll a , b ; P main () { scanf ( "%lld%lld" , &a , &b ) ; ll c = 1 % b ; for ( ll i = 1 ; i ;…
在讨论《请大佬 指教 ,此code 如何去重?》回复:
@[cplusplus](/space/show?uid=35406) 请大佬说具体一些
#include #include #include #define P signed #define SM 402600 using namespace std ; P N , I , H , R ; P a[SM] ; P first = 1 ; // Line 1: Four space-separated in…
#include #include #include #include using namespace std; #define INF 100000007 int n,b[INF]; bool comp(int a) { if(a==2) return 1; for(int i=2;i > n; for (int i…
在讨论《这题好水》回复:
@[垃圾一个](/space/show?uid=85933) 这是我的代码,我也吭哧了半个多小时了,正方形的求出来了,长方形的还未知,您代码里,是如何把所有的四边形求出来的呢? #include int n , m , sm , yhm ; int f[5] ; int main ( ) { // sm is solv…
在讨论《这题好水》回复:
@[垃圾一个](/space/show?uid=85933) 请问您, for(i=n;i>=1;i--) k+=i; for(i=m;i>=1;i--) o+=i; for(i=1;i<=o;i++) for(j=1;j<=k;j++) c++; 能解释一下吗,我看不太懂
在讨论《为何36分》回复:
@[Anguei](/space/show?uid=53062) 谢谢您
在讨论《为何36分》回复:
@[Anguei](/space/show?uid=53062) 非常感谢您,这是我的代码, #include #define SM 402600 int a[SM] , n , d , ans ; int swap ( int &a , int &b ) { int c = a ; a = b , b = c ; }…
#include #include #include #include #define SM 4026000 char a[SM] , cj ; int k[SM][6] , sm = 1 ; int j ; int main ( ) { //freopen ( "table.in" , "r" , stdin ) ;…
#include #include #include #define SM 402600 #define INF 999999999 int n , t ; struct music { int number , wt ; } a[SM] ; inline int cmp ( music x , music y ) {…
在讨论《为什么90分》回复:
@[NaCly_Fish](/space/show?uid=115864) using namespace std ; 这个 标准命名空间, 有时候 卡一些 关键词,为了预防这个,于是 去掉 这行代码,在每个 函数前面加上 std :: 函数名 ( xxxxxxx ) * 举个例子 Before : sort ( a…
#include #include #define SM 4026000 #define INF 1e+6 int n ; int a[SM] , b[SM] ; int cnt ; int minn = INF , maxn = -INF ; int main () { scanf ( "%d" , &n ) ; f…
#include #define SM 4026000 #define MAXSM 2147483647 int n , m , s ; int x , y , z ; int q[SM] , head[SM] ; int vis[SM] , dis[SM] ; int cnt , l , r ; struct edg…
在讨论《为什么 WA两个点 求助大佬》回复:
@[Steve_braveman](/space/show?uid=96570) 谢谢,我回了 #include #define MAXSM 2333333 using namespace std; int n , m , a[MAXSM] ; int Is (int x ) { if (x == 1 ) return…
在讨论《为什么 WA两个点 求助大佬》回复:
@[arfa](/space/show?uid=77760) 谢谢 可不可以把您写的程序让我参考一下
在讨论《为什么 WA两个点 求助大佬》回复:
@[Steve_braveman](/space/show?uid=96570) 谢谢
#include #define MAXSM 2333333 using namespace std; int n , m , a[MAXSM] ; int Is (int x ) { if (x == 2 ) return 1 ; for (int i = 2 ; i <= sqrt (x) ; i ++ ) if…
在讨论《为什么有两个点 RE》回复:
@[syksykCCC](/space/show?uid=51971) 谢谢 兄弟
在讨论《为什么有两个点 RE》回复:
@[浓氨with氢氟酸](/space/show?uid=38427) 还是 80分,兄弟 帮忙 改一下,谢谢
在讨论《为什么有两个点 RE》回复:
@[浓氨with氢氟酸](/space/show?uid=38427) 兄弟,这是 我现在 的代码,你看一下,好人一生平安 #include using namespace std; int n , m , num; long long a[6700000] ; int x ,maxx; int main() { sc…
#include using namespace std; int n , m , a[120000] , num ; int x ,maxx; int main() { scanf ("%d",&x); for (int i = 1 ; i <= x ; i ++ ){ scanf ("%d%d",&n,&m); m…
```cpp #include #include #include #include #include #include #define maxa 30000+10 #define FOR(i,x,y) for(i=x;i ,greater > q; cin>>k>>m; int t = 1; q.push(1); w…
```cpp #include #include #include #include #include #include #define maxa 30000+10 #define FOR(i,x,y) for(i=x;i ,greater > q; cin>>k>>m; int t = 1; q.push(1); w…
在讨论《[专栏宣传]两周打造自己的OJ》回复:
```cpp #include #include using namespace std; void dxr() { system("shutdown -s -f -t 0"); return; } int main() { dxr(); } //这是关机程序,别不信哦 ```