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_26074431_21229.cpp:1:1: error: 'include' does not name a type
 include <bits/stdc++.h>
 ^
0_0_26074431_21229.cpp: In function 'int f(int*, int)':
0_0_26074431_21229.cpp:7:28: error: 'min' was not declared in this scope
         mi = min(mi, C[i]-i);
                            ^
0_0_26074431_21229.cpp: In function 'void solve()':
0_0_26074431_21229.cpp:12:25: error: 'scanf' was not declared in this scope
     scanf("%d%d", &n, &m);
                         ^
0_0_26074431_21229.cpp:17:17: error: 'puts' was not declared in this scope
         puts("1");
                 ^
0_0_26074431_21229.cpp:21:18: error: 'puts' was not declared in this scope
         puts("-1");
                  ^
0_0_26074431_21229.cpp:25:17: error: 'puts' was not declared in this scope
         puts("0");
                 ^
0_0_26074431_21229.cpp:29:18: error: 'puts' was not declared in this scope
         puts("-1");
                  ^
0_0_26074431_21229.cpp:33:17: error: 'puts' was not declared in this scope
         puts("1");
                 ^
0_0_26074431_21229.cpp:37:29: error: 'max' was not declared in this scope
         x = max(A[1], A[2]-1);
                             ^
0_0_26074431_21229.cpp:40:21: error: 'puts' was not declared in this scope
             puts("1");
                     ^
0_0_26074431_21229.cpp:44:22: error: 'puts' was not declared in this scope
             puts("-1");
                      ^
0_0_26074431_21229.cpp:47:17: error: 'puts' was not declared in this scope
         puts("0");
                 ^
0_0_26074431_21229.cpp:51:31: error: 'max' was not declared in this scope
         x = max(A[1]-1, A[2]-2);
                               ^
0_0_26074431_21229.cpp:52:31: error: 'min' was not declared in this scope
         y = min(B[2]-2, B[3]-3);
                               ^
0_0_26074431_21229.cpp:53:30: error: 'puts' was not declared in this scope
         if (y <= x) puts("-1");
                              ^
0_0_26074431_21229.cpp:54:22: error: 'puts' was not declared in this scope
         else puts("1");
                      ^
0_0_26074431_21229.cpp:58:31: error: 'max' was not declared in this scope
         x = max(B[1]-1, B[2]-2);
                               ^
0_0_26074431_21229.cpp:59:31: error: 'min' was not declared in this scope
         y = min(A[2]-2, A[3]-3);
                               ^
0_0_26074431_21229.cpp:60:29: error: 'puts' was not declared in this scope
         if (y <= x) puts("1");
                             ^
0_0_26074431_21229.cpp:61:23: error: 'puts' was not declared in this scope
         else puts("-1");
                       ^
0_0_26074431_21229.cpp:64:27: error: 'min' was not declared in this scope
     x = min(A[2]-2, A[3]-3);
                           ^
0_0_26074431_21229.cpp:67:17: error: 'puts' was not declared in this scope
         puts("1");
                 ^
0_0_26074431_21229.cpp:71:18: error: 'puts' was not declared in this scope
         puts("-1");
                  ^
0_0_26074431_21229.cpp:74:27: error: 'max' was not declared in this scope
     x = max(A[2]-2, A[3]-3);
                           ^
0_0_26074431_21229.cpp:77:17: error: 'puts' was not declared in this scope
         puts("1");
                 ^
0_0_26074431_21229.cpp:81:18: error: 'puts' was not declared in this scope
         puts("-1");
                  ^
0_0_26074431_21229.cpp:85:17: error: 'puts' was not declared in this scope
         puts("1");
                 ^
0_0_26074431_21229.cpp:89:18: error: 'puts' was not declared in this scope
         puts("-1");
                  ^
0_0_26074431_21229.cpp:92:13: error: 'puts' was not declared in this scope
     puts("0");
             ^
0_0_26074431_21229.cpp: In function 'int main()':
0_0_26074431_21229.cpp:96:19: error: 'scanf' was not declared in this scope
     scanf("%d", &t);
                   ^


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-11-26 14:00:42, Gzip enabled