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_26567164_28495.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  #include <string.h>  #define INT_MAX 20000  int main(void)  {      int n,i,j,k,map[27][27];      float value[27],temp;      char from;      while (scanf("%d",&n) != EOF)      {          memset(value,0,sizeof(value));          for (i=0;i<=26;i++)              for (j=0;j<=26;j++)                  map[i][j] = INT_MAX;          getchar();                //这里原来么注意到          for (i=0;i<n;i++)          {              scanf("%c",&from);              scanf("%f",&temp);              j = from - 'A' + 1;              value[j] = temp;              while (1)              {                  from = getchar();                  if (from == '/n')                      break;                  if (from == '*')                      {                          map[j][0] = 1.0;                      }                      if (from >= 'A' && from <= 'Z')                          map[j][from-'A'+1] = 1;              }          }          for (k=0;k<=26;k++)              for (i=0;i<=26;i++)                  for (j=0;j<=26;j++)                      if (map[i][j]>map[i][k]+map[k][j])                          map[i][j] = map[i][k] + map[k][j];          for (i=1;i<=26;i++)          {              if (map[i][0] == INT_MAX)                  map[i][0] = 0;              temp = 1.0;              for (j=1;j<map[i][0];j++)                  temp = 0.95*temp;              value[i] = value[i] * temp;          }          temp = 0.0; j = 0;          for (i=1;i<=26;i++)          {              if (value[i]>temp)              {                  temp = value[i];                  j = i;              }          }          from = j+'A'-1;          printf("Import from %c/n",from);      }  return 0;  }
         ^


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.001000(s) query 1, Server time : 2025-01-11 00:12:33, Gzip enabled