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_6655583_3487\Main.java:1: illegal character: \35
#include <iostream>
^
0_0_6655583_3487\Main.java:2: illegal character: \35
#include <vector>
^
0_0_6655583_3487\Main.java:3: illegal character: \35
#include <cmath>
^
0_0_6655583_3487\Main.java:4: illegal character: \35
#include <cstring>
^
0_0_6655583_3487\Main.java:5: illegal character: \35
#include <cstdlib>
^
0_0_6655583_3487\Main.java:6: illegal character: \35
#include <cstdio>
^
0_0_6655583_3487\Main.java:7: illegal character: \35
#include <cassert>
^
0_0_6655583_3487\Main.java:11: illegal character: \35
#define MAXN 1010
^
0_0_6655583_3487\Main.java:16: class, interface, or enum expected
struct vec3 {
^
0_0_6655583_3487\Main.java:17: class, interface, or enum expected
  vec3() { X[0] = X[1] = X[2] = 0; }
                                   ^
0_0_6655583_3487\Main.java:18: class, interface, or enum expected
  vec3(vtype x, vtype y, vtype z) { X[0] = x; X[1] = y; X[2] = z; }
                                              ^
0_0_6655583_3487\Main.java:18: class, interface, or enum expected
  vec3(vtype x, vtype y, vtype z) { X[0] = x; X[1] = y; X[2] = z; }
                                                        ^
0_0_6655583_3487\Main.java:18: class, interface, or enum expected
  vec3(vtype x, vtype y, vtype z) { X[0] = x; X[1] = y; X[2] = z; }
                                                                  ^
0_0_6655583_3487\Main.java:25: class, interface, or enum expected
  }
  ^
0_0_6655583_3487\Main.java:29: class, interface, or enum expected
  }
  ^
0_0_6655583_3487\Main.java:33: class, interface, or enum expected
  }
  ^
0_0_6655583_3487\Main.java:37: class, interface, or enum expected
  }
  ^
0_0_6655583_3487\Main.java:40: class, interface, or enum expected
};
^
0_0_6655583_3487\Main.java:43: class, interface, or enum expected
vec3 A[MAXN];
^
0_0_6655583_3487\Main.java:48: class, interface, or enum expected
struct twoset {
^
0_0_6655583_3487\Main.java:49: class, interface, or enum expected
  void insert(int x) { (a == -1 ? a : b) = x; }
                                              ^
0_0_6655583_3487\Main.java:50: class, interface, or enum expected
  bool contains(int x) { return a == x || b == x; }
                                                  ^
0_0_6655583_3487\Main.java:51: class, interface, or enum expected
  void erase(int x) { (a == x ? a : b) = -1; }
                                             ^
0_0_6655583_3487\Main.java:52: class, interface, or enum expected
  int size() { return (a != -1) + (b != -1); }
                                             ^
0_0_6655583_3487\Main.java:54: class, interface, or enum expected
} E[MAXN][MAXN];
^
0_0_6655583_3487\Main.java:56: class, interface, or enum expected
struct face {
^
0_0_6655583_3487\Main.java:58: class, interface, or enum expected
  vtype disc;
  ^
0_0_6655583_3487\Main.java:59: class, interface, or enum expected
  int I[3];
  ^
0_0_6655583_3487\Main.java:60: class, interface, or enum expected
};
^
0_0_6655583_3487\Main.java:65: class, interface, or enum expected
face make_face(int i, int j, int k, int inside_i) {
^
0_0_6655583_3487\Main.java:66: class, interface, or enum expected
  E[i][j].insert(k); E[i][k].insert(j); E[j][k].insert(i);
                     ^
0_0_6655583_3487\Main.java:66: class, interface, or enum expected
  E[i][j].insert(k); E[i][k].insert(j); E[j][k].insert(i);
                                        ^
0_0_6655583_3487\Main.java:68: class, interface, or enum expected
  face f;
  ^
0_0_6655583_3487\Main.java:69: class, interface, or enum expected
  f.I[0] = i; f.I[1] = j; f.I[2] = k;
  ^
0_0_6655583_3487\Main.java:69: class, interface, or enum expected
  f.I[0] = i; f.I[1] = j; f.I[2] = k;
              ^
0_0_6655583_3487\Main.java:69: class, interface, or enum expected
  f.I[0] = i; f.I[1] = j; f.I[2] = k;
                          ^
0_0_6655583_3487\Main.java:70: class, interface, or enum expected
  f.norm = (A[j] - A[i]) * (A[k] - A[i]);
  ^
0_0_6655583_3487\Main.java:71: class, interface, or enum expected
  f.disc = f.norm.dot(A[i]);
  ^
0_0_6655583_3487\Main.java:72: class, interface, or enum expected
  if(f.norm.dot(A[inside_i]) > f.disc) {
  ^
0_0_6655583_3487\Main.java:74: class, interface, or enum expected
    f.disc = -f.disc;
    ^
0_0_6655583_3487\Main.java:75: class, interface, or enum expected
  }
  ^
0_0_6655583_3487\Main.java:77: class, interface, or enum expected
}
^
0_0_6655583_3487\Main.java:81: class, interface, or enum expected
  for(cin >> N; N; cin >> N) {
  ^
0_0_6655583_3487\Main.java:81: class, interface, or enum expected
  for(cin >> N; N; cin >> N) {
                ^
0_0_6655583_3487\Main.java:81: class, interface, or enum expected
  for(cin >> N; N; cin >> N) {
                   ^
0_0_6655583_3487\Main.java:82: class, interface, or enum expected
    for(int i = 0; i < N; i++) {
                   ^
0_0_6655583_3487\Main.java:82: class, interface, or enum expected
    for(int i = 0; i < N; i++) {
                          ^
0_0_6655583_3487\Main.java:84: class, interface, or enum expected
    }
    ^
0_0_6655583_3487\Main.java:88: class, interface, or enum expected
    vector<face> faces;
    ^
0_0_6655583_3487\Main.java:89: class, interface, or enum expected
    memset(E, -1, sizeof(E));
    ^
0_0_6655583_3487\Main.java:90: class, interface, or enum expected
    for(int i = 0; i < 4; i++)
    ^
0_0_6655583_3487\Main.java:90: class, interface, or enum expected
    for(int i = 0; i < 4; i++)
                   ^
0_0_6655583_3487\Main.java:90: class, interface, or enum expected
    for(int i = 0; i < 4; i++)
                          ^
0_0_6655583_3487\Main.java:91: class, interface, or enum expected
    for(int j = i + 1; j < 4; j++)
                       ^
0_0_6655583_3487\Main.java:91: class, interface, or enum expected
    for(int j = i + 1; j < 4; j++)
                              ^
0_0_6655583_3487\Main.java:92: class, interface, or enum expected
    for(int k = j + 1; k < 4; k++) {
                       ^
0_0_6655583_3487\Main.java:92: class, interface, or enum expected
    for(int k = j + 1; k < 4; k++) {
                              ^
0_0_6655583_3487\Main.java:94: class, interface, or enum expected
    }
    ^
0_0_6655583_3487\Main.java:97: class, interface, or enum expected
    for(int i = 4; i < N; i++) {
                   ^
0_0_6655583_3487\Main.java:97: class, interface, or enum expected
    for(int i = 4; i < N; i++) {
                          ^
0_0_6655583_3487\Main.java:100: class, interface, or enum expected
      for(int j = 0; j < faces.size(); j++) {
                     ^
0_0_6655583_3487\Main.java:100: class, interface, or enum expected
      for(int j = 0; j < faces.size(); j++) {
                                       ^
0_0_6655583_3487\Main.java:102: class, interface, or enum expected
        if(f.norm.dot(A[i]) > f.disc) {
        ^
0_0_6655583_3487\Main.java:103: class, interface, or enum expected
          for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
                         ^
0_0_6655583_3487\Main.java:103: class, interface, or enum expected
          for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
                                ^
0_0_6655583_3487\Main.java:103: class, interface, or enum expected
          for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
                                                        ^
0_0_6655583_3487\Main.java:103: class, interface, or enum expected
          for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
                                                               ^
0_0_6655583_3487\Main.java:105: class, interface, or enum expected
            E[f.I[a]][f.I[b]].erase(f.I[c]);
            ^
0_0_6655583_3487\Main.java:106: class, interface, or enum expected
          }
          ^
0_0_6655583_3487\Main.java:108: class, interface, or enum expected
          faces.resize(faces.size() - 1);
          ^
0_0_6655583_3487\Main.java:109: class, interface, or enum expected
        }
        ^
0_0_6655583_3487\Main.java:114: class, interface, or enum expected
      for(int j = 0; j < nfaces; j++) {
      ^
0_0_6655583_3487\Main.java:114: class, interface, or enum expected
      for(int j = 0; j < nfaces; j++) {
                     ^
0_0_6655583_3487\Main.java:114: class, interface, or enum expected
      for(int j = 0; j < nfaces; j++) {
                                 ^
0_0_6655583_3487\Main.java:116: class, interface, or enum expected
        for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
        ^
0_0_6655583_3487\Main.java:116: class, interface, or enum expected
        for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
                       ^
0_0_6655583_3487\Main.java:116: class, interface, or enum expected
        for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
                              ^
0_0_6655583_3487\Main.java:116: class, interface, or enum expected
        for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
                                                      ^
0_0_6655583_3487\Main.java:116: class, interface, or enum expected
        for(int a = 0; a < 3; a++) for(int b = a + 1; b < 3; b++) {
                                                             ^
0_0_6655583_3487\Main.java:118: class, interface, or enum expected
          if(E[f.I[a]]


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-23 05:19:22, Gzip enabled