Problem | kfc |
---|---|
User | Xiaoyang |
Submission Time | 2023-01-23 23:29:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
kfc.cpp: In function ‘int main()’:
kfc.cpp:29:34: error: expected ‘;’ before ‘for’
29 | t-=(long double)x/(long double)k
| ^
| ;
kfc.cpp:30:6: error: ‘i’ was not declared in this scope
30 | rep(i,1,n+1){
| ^
kfc.cpp:12:33: note: in definition of macro ‘rep’
12 | #define rep(i,a,b) for (int i=a;i<(b);i++)
| ^