Problem | area |
---|---|
User | HXintown |
Submission Time | 2024-10-08 20:50:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
area.cpp: In function ‘int main()’:
area.cpp:4:2: error: ‘uint64_t’ was not declared in this scope
4 | uint64_t n;
| ^~~~~~~~
area.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin>>n;
| ^~~
area.cpp:5:7: error: ‘n’ was not declared in this scope
5 | cin>>n;
| ^
area.cpp:6:10: error: expected ‘;’ before ‘sum’
6 | uint64_t sum=0,a,b;
| ^~~~
| ;
area.cpp:7:14: error: expected ‘;’ before ‘i’
7 | for(uint64_t i=1;i<=n;i++){
| ^~
| ;
area.cpp:7:19: error: ‘i’ was not declared in this scope
7 | for(uint64_t i=1;i<=n;i++){
| ^
area.cpp:8:8: error: ‘a’ was not declared in this scope
8 | cin>>a>>b;
| ^
area