F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_19434635_2331.cpp:1:585: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/iostream>usin: Invalid argument
 #include<iostream>using namespace std;int main(){    int x,y,i,c,b,n,s;    while(cin>>x>>y)    {        if(x==0&&y==0) break;       b=0;                                for(n=x;n<=y;n++)        {            s=n*n+n+41;                        c=0;            for(i=2;i<s;i++)            {                if(s%i==0)                 c++;                          }            if(c==0)                b++;                           }                           if(b==y-x+1)             cout<<"OK"<<endl;        else            cout<<"Sorry"<<endl;                         }                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
compilation terminated.


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 07:57:47, Gzip enabled