记录详情

Compile Error

/in/foo.cc:48:5: error: expected initializer before 'scanf'
     scanf("%d%lld",&T,&Mod);
     ^~~~~
/in/foo.cc:49:5: error: expected unqualified-id before 'for'
     for (int i=1;i<=T;++i)
     ^~~
/in/foo.cc:49:18: error: 'i' does not name a type
     for (int i=1;i<=T;++i)
                  ^
/in/foo.cc:49:23: error: expected unqualified-id before '++' token
     for (int i=1;i<=T;++i)
                       ^~
/in/foo.cc:55:8: error: expected constructor, destructor, or type conversion before '(' token
     get(maxm);
        ^
/in/foo.cc:56:11: error: expected constructor, destructor, or type conversion before ';' token
     init();
           ^
/in/foo.cc:57:5: error: expected unqualified-id before 'for'
     for (int i=1;i<=T;++i)
     ^~~
/in/foo.cc:57:18: error: 'i' does not name a type
     for (int i=1;i<=T;++i)
                  ^
/in/foo.cc:57:23: error: expected unqualified-id before '++' token
     for (int i=1;i<=T;++i)
                       ^~
/in/foo.cc:62:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
互质
题目数据
下载
语言
C++
递交时间
2018-07-08 19:10:28
评测时间
2018-07-08 19:47:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes