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_40082558_53.cpp:3:14: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    3 | #define N 1e6+10
      |           ~~~^~~
0_0_40082558_53.cpp:5:13: note: in expansion of macro 'N'
    5 | ll n, m, fa[N], pos1 = 100005, pos2 = 1, flag = 0,cnt,vis[N],fx,fy;
      |             ^
0_0_40082558_53.cpp:3:14: error: could not convert '(1.0e+6 + (double)10)' from 'double' to 'long long unsigned int'
    3 | #define N 1e6+10
      |           ~~~^~~
      |              |
      |              double
0_0_40082558_53.cpp:5:13: note: in expansion of macro 'N'
    5 | ll n, m, fa[N], pos1 = 100005, pos2 = 1, flag = 0,cnt,vis[N],fx,fy;
      |             ^
0_0_40082558_53.cpp:3:14: error: size of array 'fa' has non-integral type 'double'
    3 | #define N 1e6+10
      |           ~~~^~~
0_0_40082558_53.cpp:5:13: note: in expansion of macro 'N'
    5 | ll n, m, fa[N], pos1 = 100005, pos2 = 1, flag = 0,cnt,vis[N],fx,fy;
      |             ^
0_0_40082558_53.cpp:3:14: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    3 | #define N 1e6+10
      |           ~~~^~~
0_0_40082558_53.cpp:5:59: note: in expansion of macro 'N'
    5 | ll n, m, fa[N], pos1 = 100005, pos2 = 1, flag = 0,cnt,vis[N],fx,fy;
      |                                                           ^
0_0_40082558_53.cpp:3:14: error: could not convert '(1.0e+6 + (double)10)' from 'double' to 'long long unsigned int'
    3 | #define N 1e6+10
      |           ~~~^~~
      |              |
      |              double
0_0_40082558_53.cpp:5:59: note: in expansion of macro 'N'
    5 | ll n, m, fa[N], pos1 = 100005, pos2 = 1, flag = 0,cnt,vis[N],fx,fy;
      |                                                           ^
0_0_40082558_53.cpp:3:14: error: size of array 'vis' has non-integral type 'double'
    3 | #define N 1e6+10
      |           ~~~^~~
0_0_40082558_53.cpp:5:59: note: in expansion of macro 'N'
    5 | ll n, m, fa[N], pos1 = 100005, pos2 = 1, flag = 0,cnt,vis[N],fx,fy;
      |                                                           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-04-18 11:43:39, Gzip enabled