Problem | sum |
---|---|
User | lzy |
Submission Time | 2024-12-02 11:09:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sum.cpp: In function ‘int main()’:
sum.cpp:6:13: error: two or more data types in declaration of ‘total_secondary’
6 | int int total_secondary = 0, total_junior_college = 0;
| ^~~~~~~~~~~~~~~
sum.cpp:6:34: error: two or more data types in declaration of ‘total_junior_college’
6 | int int total_secondary = 0, total_junior_college = 0;
| ^~~~~~~~~~~~~~~~~~~~
sum.cpp:13:9: error: ‘total_secondary’ was not declared in this scope
13 | total_secondary += X;
| ^~~~~~~~~~~~~~~
sum.cpp:14:9: error: ‘total_junior_college’ was not declared in this scope
14 | total_junior_college += Y;
| ^~~~~~~~~~~~~~~~~~~~
sum.cpp:17:27: error: ‘total_secondary’ was not declared in this scope
17 | printf("%lld %lld\n", total_secondary, total_junior_college);
| ^~~~~~~~~~~~~~~
sum.cpp:17:44: error: ‘total_j