设为首页 加入收藏

TOP

ZOJ 2969 && BNU16488 Easy Task
2015-07-20 17:23:28 来源: 作者: 【 】 浏览:2
Tags:ZOJ 2969 & BNU16488 Easy Task

链接:click here

题意: 给出n,代表多项式有n+1项,要求多项式求导后每一项的系数,常数项就不用输出。

思路:(吐槽)题意一直没读懂~~ORZ~~英语阅读和理解能力要抓狂啊~~~,最后发现简单的模拟

代码:

#include 
  
   
#include 
   
     #include 
    
      #include 
     
       #include 
      
        using namespace std; const int Inf=0x3f3f3f; const int maxn=1000; const double eps=1e-6; const double pi=acos(-1.0); int n,m,i,j; int cost[maxn][maxn]; double vis[maxn]; int aa[maxn]; int main() { int n,m,i,j; cin>>n; while(n--) { cin>>m; for(i=0; i
       
        >aa[i]; //cout<
        
         

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇POJ 2774 Long Long Message &.. 下一篇uva 11210 Chinese Mahjong(暴力..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·C语言中,“指针”用 (2025-12-26 15:20:18)
·在c语言的指针运算中 (2025-12-26 15:20:15)
·C语言-函数指针与函 (2025-12-26 15:20:12)
·求navicat for mysql (2025-12-26 13:21:33)
·有哪位大哥推荐一下m (2025-12-26 13:21:30)