Problem greenbeans
User CuriousFox
Submission Time 2024-06-26 16:00:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greenbeans.cpp:3:1: error: ‘typrdef’ does not name a type
3 | typrdef long long ll;
| ^~~~~~~
greenbeans.cpp: In function ‘int main()’:
greenbeans.cpp:7:2: error: ‘ll’ was not declared in this scope
7 | ll days;
| ^~
greenbeans.cpp:8:9: error: ‘days’ was not declared in this scope
8 | cin >> days;
| ^~~~
greenbeans.cpp:9:11: error: template argument 2 is invalid
9 | vector<ll> trend(days);
| ^
greenbeans.cpp:10:10: error: expected ‘;’ before ‘i’
10 | for ( ll i = 0; i < days; i++){
| ^~
| ;
greenbeans.cpp:10:18: error: ‘i’ was not declared in this scope
10 | for ( ll i = 0; i < days; i++){
| ^
greenbeans.cpp:11:5: error: expected ‘;’ before ‘num’
11 | ll num;
| ^~~~
| ;
greenbeans.cpp:12:10: error: ‘num’ was not declared in this scope; did you mean ‘en