/ Vijos /

记录详情

Compile Error

/in/foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:13: error: 'time' was not declared in this scope
 srand(time(0));
             ^
/in/foo.cc:13:14: error: 'srand' was not declared in this scope
 srand(time(0));
              ^
/in/foo.cc:15:10: error: 'EOF' was not declared in this scope
 while(q!=EOF)scanf("%c",&q);
          ^~~
/in/foo.cc:15:27: error: 'scanf' was not declared in this scope
 while(q!=EOF)scanf("%c",&q);
                           ^
/in/foo.cc:17:8: error: 'rand' was not declared in this scope
 s=rand()%26+64;
        ^
/in/foo.cc:19:17: error: 'printf' was not declared in this scope
 printf("A%c\n",s);
                 ^
/in/foo.cc:21:15: error: 'system' was not declared in this scope
 system("pause");
               ^

信息

递交者
类型
递交
题目
P1003 等价表达式
语言
C++
递交时间
2022-06-06 14:52:45
评测时间
2022-06-06 14:52:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes