| Problem | duckhunt36 |
|---|---|
| User | shenshiqi |
| Submission Time | 2025-12-19 09:40:10 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt36.cpp: In function ‘int main()’:
duckhunt36.cpp:4:2: error: ‘ll’ was not declared in this scope
4 | ll n;
| ^~
duckhunt36.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | cin >> n;
| ^
| yn
duckhunt36.cpp:8:5: error: expected ‘;’ before ‘half’
8 | ll half = n/2;
| ^~~~~
| ;
duckhunt36.cpp:9:11: error: ‘half’ was not declared in this scope
9 | cout << half*half << "\n";
| ^~~~
duckhunt36.cpp:13:5: error: expected ‘;’ before ‘half’
13 | ll half = n/2;
| ^~~~~
| ;
duckhunt36.cpp:14:11: error: ‘half’ was not declared in this scope
14 | cout << half*(half-1) << "\n";
| ^~~~