Runtime Error

/in/foo.c:1:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^~~~
/in/foo.c: In function 'main':
/in/foo.c:7:42: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 if(i*5+j*3+k/3==100&&k%3==0&&i+j+k==100) printf("%d, %d, %d\n", i, j, k);
                                          ^~~~~~
/in/foo.c:7:42: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:7:42: note: include '<stdio.h>' or provide a declaration of 'printf'
# 状态 耗时 内存占用
#1 Runtime Error 2ms 260.0 KiB

信息

递交者
类型
递交
题目
P1055 百元买百鱼
语言
C
递交时间
2024-04-18 21:13:37
评测时间
2024-04-18 21:13:37
评测机
分数
0
总耗时
2ms
峰值内存
260.0 KiB