Problem | kfc |
---|---|
User | asbx |
Submission Time | 2023-11-08 15:41:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
kfc.cpp:90:1: error: specializing member ‘std::basic_ios<char>::sync_with_stdio’ requires ‘template<>’ syntax
90 | ios::sync_with_stdio(0);
| ^~~
kfc.cpp:91:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
91 | cin.tie(0);
| ^~~
| sin
kfc.cpp: In function ‘int main()’:
kfc.cpp:99:3: error: ‘sum’ was not declared in this scope
99 | sum=sum+W[i]+D[i]/S[i];
| ^~~
kfc.cpp:101:5: error: ‘sum’ was not declared in this scope
101 | if(sum>(X/K)){
| ^~~
kfc.cpp:101:10: error: ‘X’ was not declared in this scope
101 | if(sum>(X/K)){
| ^
kfc.cpp:101:12: error: ‘K’ was not declared in this scope
101 | if(sum>(X/K)){
| ^
kfc.cpp:102:9: error: ‘T’ was not declared in this scope
102 | cout<<T-(X/K);
| ^
kfc.cpp:105:9: error: ‘T’ was not declared in this scope
105 | cout<<T-sum;