Compile Error
foo.cc: In function 'int main()':
foo.cc:6:23: error: expected ';' before 'for'
    6 |         scanf("%d",&a)
      |                       ^
      |                       ;
    7 |         for(s=1;s<=a;s++)
      |         ~~~            
foo.cc:7:18: warning: statement has no effect [-Wunused-value]
    7 |         for(s=1;s<=a;s++)
      |                 ~^~~
foo.cc:7:25: error: expected ';' before ')' token
    7 |         for(s=1;s<=a;s++)
      |                         ^
      |                         ;
foo.cc:15:30: error: expected ';' before 'else'
   15 |                 printf("Yes")
      |                              ^
      |                              ;
   16 |         else
      |         ~~~~                  
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1041 素数
 - 语言
 - C++
 - 递交时间
 - 2024-03-22 16:32:29
 - 评测时间
 - 2024-03-22 16:32:29
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes