Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:为什么gcc就RTE,c就AC?我自己在本地用gcc试了1到13的数据也正常啊,求教!

Posted by baicaitest at 2009-08-05 19:13:47 on Problem 1012 and last updated at 2009-08-05 19:15:45
In Reply To:为什么gcc就RTE,c就AC?我自己在本地用gcc试了1到13的数据也正常啊,求教! Posted by:underchange at 2009-07-20 12:03:12
#include <iostream>
using namespace std;
int a[14]={2,7,5,30,169,441,1872,7632,1740,93313
,459901,1358657,2504881};

int main(){
    int b;
    cin>>b;
    while (b){
    cout<<a[b-1]<<endl;
    cin>>b;
    }
}
猥琐程序。。。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator