记录详情

Compile Error

/in/Main.java:1: error: illegal character: '#'
#include<stdio.h>
^
/in/Main.java:1: error: class, interface, or enum expected
#include<stdio.h>
        ^
/in/Main.java:2: error: illegal character: '#'
#include<string.h>
^
/in/Main.java:6: error: class, interface, or enum expected
    int len,ans=0;
    ^
/in/Main.java:7: error: class, interface, or enum expected
    scanf("%s",ch);
    ^
/in/Main.java:8: error: class, interface, or enum expected
    len=strlen(ch);
    ^
/in/Main.java:9: error: class, interface, or enum expected
    for(int i=0;i<len;i++)
    ^
/in/Main.java:9: error: class, interface, or enum expected
    for(int i=0;i<len;i++)
                ^
/in/Main.java:9: error: class, interface, or enum expected
    for(int i=0;i<len;i++)
                      ^
/in/Main.java:10: error: class, interface, or enum expected
    for(int j=i+1;j<len;j++)
                  ^
/in/Main.java:10: error: class, interface, or enum expected
    for(int j=i+1;j<len;j++)
                        ^
/in/Main.java:11: error: class, interface, or enum expected
        for(int k=j+1;k<len;k++)
                      ^
/in/Main.java:11: error: class, interface, or enum expected
        for(int k=j+1;k<len;k++)
                            ^
/in/Main.java:14: error: class, interface, or enum expected
    printf("%d\n",ans);
    ^
/in/Main.java:15: error: class, interface, or enum expected
}
^
15 errors

信息

递交者
类型
递交
题目
P1091 xf2-4说能过那都是假的
语言
Java
递交时间
2019-12-22 15:32:10
评测时间
2019-12-22 15:32:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes