最短代码!不服来战!

P1634 禽兽的传染病

@[名侦探柯北](/space/show?uid=55138) 怎么到哪里都能碰到你
by Rachel_Gardner @ 2017-08-29 11:31:54


#include<iostream> #include<cmath> using namespace std; int main(){long long l,x;cin>>x>>l;cout<<pow(x+1,l);}
by mengbierr @ 2017-08-29 11:34:36


这个AC不了吧
by 名侦探柯北 @ 2017-08-29 11:42:41


评测结果:Unaccepted 得分:10 提交时间:2017-08-29 11:43 耗时:0ms 内存:2300kb 评测机:AJAX 编译信息 编译成功 没有编译信息 分点信息(鼠标移到方块上有详细信息) #1 AC 0ms/2300kB #2 WA 0ms/2324kB #3 WA 0ms/2316kB #4 WA 0ms/2339kB #5 WA 0ms/2410kB #6 WA 0ms/2179kB #7 WA 0ms/2335kB #8 WA 0ms/2281kB #9 WA 0ms/2328kB #10 WA 0ms/2332kB 你看看,我的可是AC代码
by 名侦探柯北 @ 2017-08-29 11:44:02


pow()返回的是bouble...
by SW_Wind @ 2017-08-29 12:39:02


@[名侦探柯北](/space/show?uid=55138) 一看就是小学生
by Grace_Stock @ 2017-08-29 12:51:07


头文件改成bits/stdc++.h还能短一行(滑稽)
by yyy14159 @ 2017-08-29 13:33:32


大佬们666
by c20191623 @ 2017-08-29 13:37:16


#include<bits/stdc++.h> using namespace std; int main(){long long l,x,n;cin>>x>>l;n=pow(x+1,l);cout<<n;}
by _Ayanami_ @ 2017-08-29 14:43:28


```cpp include<bits/stdc++.h> using namespace std; int main(){long long l,x,n;cin>>x>>l;n=pow(x+1,l);cout<<n;} ```
by _Ayanami_ @ 2017-08-29 14:44:50


| 下一页