Problem | snowball |
---|---|
User | Subz3r0 |
Submission Time | 2024-07-29 16:16:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snowball.cpp:5:5: error: expected initializer before ‘long’
5 | long long a,b,c;
| ^~~~
snowball.cpp:6:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin >> a >> b;
| ^~~
| sin
snowball.cpp:8:5: error: expected unqualified-id before ‘for’
8 | for (int i = 0; i < a; i++) {
| ^~~
snowball.cpp:8:21: error: ‘i’ does not name a type
8 | for (int i = 0; i < a; i++) {
| ^
snowball.cpp:8:28: error: ‘i’ does not name a type
8 | for (int i = 0; i < a; i++) {
| ^
snowball.cpp:12:9: error: expected constructor, destructor, or type conversion before ‘(’ token
12 | sort(V.begin(),V.end(),greater<int>());
| ^
snowball.cpp:13:5: error: ‘max’ does not name a type; did you mean ‘fmax’?
13 | max = (V[0] + b)^2;
| ^~~
|