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_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39093671_25688.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39093671_25688.cpp:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
0_0_39093671_25688.cpp: In function 'bool isprime(int)':
0_0_39093671_25688.cpp:6:30: error: 'sqrt' was not declared in this scope
    6 |         for (int i = 2; i <= sqrt(num); i++) {
      |                              ^~~~
0_0_39093671_25688.cpp: In function 'int main()':
0_0_39093671_25688.cpp:20:16: error: 'cin' was not declared in this scope
   20 |         while (cin >> x >> y &&(x||y)) {
      |                ^~~
0_0_39093671_25688.cpp:21:31: error: 'cout' was not declared in this scope
   21 |                 if (ok(x, y)) cout << "OK" << endl;
      |                               ^~~~
0_0_39093671_25688.cpp:21:47: error: 'endl' was not declared in this scope
   21 |                 if (ok(x, y)) cout << "OK" << endl;
      |                                               ^~~~
0_0_39093671_25688.cpp:22:22: error: 'cout' was not declared in this scope
   22 |                 else cout << "Sorry" << endl;
      |                      ^~~~
0_0_39093671_25688.cpp:22:41: error: 'endl' was not declared in this scope
   22 |                 else cout << "Sorry" << endl;
      |                                         ^~~~


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-03 06:30:42, Gzip enabled