Runtime Error
/in/foo.c: In function 'main': /in/foo.c:7:7: warning: statement with no effect [-Wunused-value] for(i==2;i<n;i++) ~^~~ /in/foo.c:14:12: warning: format '%d' expects a matching 'int' argument [-Wformat=] printf("%d is a primer!"); ^ /in/foo.c:16:12: warning: format '%d' expects a matching 'int' argument [-Wformat=] printf("%d is not a primer!"); ^ /in/foo.c:9:7: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] if(n%i==0) ~^~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2024-12-23 13:59:55
- 评测时间
- 2024-12-23 13:59:55
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 320.0 KiB