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_33505592_6681.c:1:1: error: expected identifier or '(' before '/' token
 // #include <iostream>
 ^
0_0_33505592_6681.c:1:4: error: stray '#' in program
 // #include <iostream>
    ^
0_0_33505592_6681.c:2:4: error: stray '#' in program
 // #include <cstdio>
    ^
0_0_33505592_6681.c:3:4: error: stray '#' in program
 // #include <cstring>
    ^
0_0_33505592_6681.c:4:4: error: stray '#' in program
 // #include <algorithm>
    ^
0_0_33505592_6681.c:5:4: error: stray '#' in program
 // #include <cmath>
    ^
0_0_33505592_6681.c:6:4: error: stray '#' in program
 // #include <map>
    ^
0_0_33505592_6681.c:7:4: error: stray '#' in program
 // #include <set>
    ^
0_0_33505592_6681.c:8:4: error: stray '#' in program
 // #include <string>
    ^
0_0_33505592_6681.c:9:4: error: stray '#' in program
 // #include <string.h>
    ^
0_0_33505592_6681.c:10:4: error: stray '#' in program
 // #include <stack>
    ^
0_0_33505592_6681.c:11:4: error: stray '#' in program
 // #include <vector>
    ^
0_0_33505592_6681.c:12:4: error: stray '#' in program
 // #include <queue>
    ^
0_0_33505592_6681.c:13:4: error: stray '#' in program
 // #pragma GCC optimize(2)
    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:282:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10,
                 from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:9,
                 from 0_0_33505592_6681.c:14:
GCC4.9.2/x86_64-w64-mingw32/include/vadefs.h:29:11: error: unknown type name '__gnuc_va_list'
   typedef __gnuc_va_list va_list;
           ^
0_0_33505592_6681.c:16:1: error: expected identifier or '(' before '/' token
 // namespace ucp
 ^
0_0_33505592_6681.c:21:8: error: stray '#' in program
     // #define mpr make_pair
        ^
0_0_33505592_6681.c:22:8: error: stray '#' in program
     // #define debug() puts("okkkkkkkk")
        ^
0_0_33505592_6681.c:23:8: error: stray '#' in program
     // #define scd(a) scanf("%d",&a)
        ^
0_0_33505592_6681.c:24:8: error: stray '#' in program
     // #define scd2(a,b) scanf("%d%d",&a,&b)
        ^
0_0_33505592_6681.c:25:8: error: stray '#' in program
     // #define scd3(a,b,c) scanf("%d%d%d",&a,&b,&c)
        ^
0_0_33505592_6681.c:26:8: error: stray '#' in program
     // #define scl(a) scanf("%lld",&a)
        ^
0_0_33505592_6681.c:27:8: error: stray '#' in program
     // #define scl2(a,b) scanf("%lld%lld",&a,&b)
        ^
0_0_33505592_6681.c:28:8: error: stray '#' in program
     // #define scl3(a,b,c) scanf("%lld%lld%lld",&a,&b,&c)
        ^
0_0_33505592_6681.c:29:8: error: stray '#' in program
     // #define scs(s) scanf("%s",s)
        ^
0_0_33505592_6681.c:30:8: error: stray '#' in program
     // #define prdln(a) printf("%d\n", a)
        ^
0_0_33505592_6681.c:31:8: error: stray '#' in program
     // #define prd2ln(a,b) printf("%d %d\n", a, b)
        ^
0_0_33505592_6681.c:32:8: error: stray '#' in program
     // #define prd3ln(a,b,c) printf("%d %d %d\n", a, b, c)
        ^
0_0_33505592_6681.c:33:8: error: stray '#' in program
     // #define prlln(a) printf("%lld\n", a)
        ^
0_0_33505592_6681.c:34:8: error: stray '#' in program
     // #define prl2ln(a,b) printf("%lld %lld\n", a, b)
        ^
0_0_33505592_6681.c:35:8: error: stray '#' in program
     // #define prl3ln(a,b,c) printf("%lld %lld %lld\n", a, b, c)
        ^
0_0_33505592_6681.c:36:8: error: stray '#' in program
     // #define prd(a) printf("%d ", a)
        ^
0_0_33505592_6681.c:37:8: error: stray '#' in program
     // #define prd2(a,b) printf("%d %d ", a, b)
        ^
0_0_33505592_6681.c:38:8: error: stray '#' in program
     // #define prd3(a,b,c) printf("%d %d %d ", a, b, c)
        ^
0_0_33505592_6681.c:39:8: error: stray '#' in program
     // #define prl(a) printf("%lld ", a)
        ^
0_0_33505592_6681.c:40:8: error: stray '#' in program
     // #define prl2(a,b) printf("%lld %lld ", a, b)
        ^
0_0_33505592_6681.c:41:8: error: stray '#' in program
     // #define prl3(a,b,c) printf("%lld %lld %lld ", a, b, c)
        ^
0_0_33505592_6681.c:42:8: error: stray '#' in program
     // #define For(i,st,en) for(int i=st;i<en;++i)
        ^
0_0_33505592_6681.c:43:8: error: stray '#' in program
     // #define For_(i,st,en) for(int i=st;i<=en;++i)
        ^
0_0_33505592_6681.c:44:8: error: stray '#' in program
     // #define Rep(i,st,en) for(int i=st;i>en;--i)
        ^
0_0_33505592_6681.c:45:8: error: stray '#' in program
     // #define Rep_(i,st,en) for(int i=st;i>=en;--i)
        ^
0_0_33505592_6681.c:47:8: error: stray '#' in program
     // #define SZ(x) ((int)(x).size())
        ^
0_0_33505592_6681.c:48:8: error: stray '#' in program
     // #define ALL(x) (x).begin(), (x).end()
        ^
0_0_33505592_6681.c:49:8: error: stray '#' in program
     // #define lc(i) (i<<1)
        ^
0_0_33505592_6681.c:50:8: error: stray '#' in program
     // #define rc(i) (i<<1|1)
        ^
0_0_33505592_6681.c:51:8: error: stray '#' in program
     // #define PII pair<int,int>
        ^
0_0_33505592_6681.c:52:8: error: stray '#' in program
     // #define fi first
        ^
0_0_33505592_6681.c:53:8: error: stray '#' in program
     // #define se second 
        ^
0_0_33505592_6681.c:89:1: error: expected identifier or '(' before '/' token
 // using namespace std;
 ^
0_0_33505592_6681.c:90:1: error: expected identifier or '(' before '/' token
 // using namespace ucp;
 ^
0_0_33505592_6681.c:92:7: error: unknown type name 'll'
 const ll mxll = 1e16;
       ^
0_0_33505592_6681.c:96:7: error: unknown type name 'll'
 const ll mod = 1000000007;
       ^
0_0_33505592_6681.c:97:1: error: expected identifier or '(' before '/' token
 // const db eps = 1e-7;
 ^
0_0_33505592_6681.c:101:2: error: variably modified 'edge' at file scope
 }edge[maxn * 3 / 2];
  ^
0_0_33505592_6681.c:102:5: error: variably modified 'head' at file scope
 int head[maxn], tot;
     ^
0_0_33505592_6681.c:108:5: error: variably modified 'vis' at file scope
 int vis[maxn];
     ^
0_0_33505592_6681.c:109:5: error: variably modified 'f' at file scope
 int f[maxn];
     ^
0_0_33505592_6681.c: In function 'dfs':
0_0_33505592_6681.c:111:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (int i = head[u]; i; i = edge[i].nxt) {
     ^
0_0_33505592_6681.c:111:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_33505592_6681.c:117:13: error: expected expression before '/' token
             // f[u] = v;
             ^
0_0_33505592_6681.c:122:13: error: expected expression before '/' token
             // f[u] = v;
             ^
0_0_33505592_6681.c: In function 'main':
0_0_33505592_6681.c:135:9: error: expected expression before '/' token
         // For_(i,1,N) {
         ^
0_0_33505592_6681.c:139:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for (int i = 0; i < M; ++i) {
         ^
0_0_33505592_6681.c:145:9: error: expected expression before '/' token
         // for (int i = 1; i <= N; ++i) f[i] = -1;
         ^
0_0_33505592_6681.c:146:18: error: redefinition of 'i'
         for (int i = 1; i <= N; ++i){
                  ^
0_0_33505592_6681.c:139:18: note: previous definition of 'i' was here
         for (int i = 0; i < M; ++i) {
                  ^
0_0_33505592_6681.c:146:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for (int i = 1; i <= N; ++i){
         ^
0_0_33505592_6681.c:148:13: error: expected expression before '/' token
             // for (int j = 1; j <= N; ++j) vis[j] = 0;  
             ^
0_0_33505592_6681.c:149:13: error: expected expression before '/' token
             // if (f[i]==-1) {
             ^


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 04:17:02, Gzip enabled