Rožių sodas

Taškai: 0

Compile: FAIL

garden.cpp:8:25: error: expected initializer before ‘long’ const long long maxlong long = 2000000000; ^ garden.cpp: In function ‘long long int gilyn(long long int, long long int, long long int, long long int, long long int, long long int)’: garden.cpp:37:22: error: ‘maxlong’ was not declared in this scope if(l > r) return maxlong long; ^ garden.cpp:37:30: error: expected ‘;’ before ‘long’ if(l > r) return maxlong long; ^ garden.cpp:37:30: error: declaration does not declare anything [-fpermissive] garden.cpp:43:12: error: ‘maxlong’ was not declared in this scope return maxlong long; ^ garden.cpp:43:20: error: expected ‘;’ before ‘long’ return maxlong long; ^ garden.cpp:43:20: error: declaration does not declare anything [-fpermissive] garden.cpp: At global scope: garden.cpp:48:5: warning: first argument of ‘int main(long long int, const char**)’ should be ‘int’ [-Wmain] int main(long long argc, const char * argv[]) { ^ garden.cpp: In function ‘int main(long long int, const char**)’: garden.cpp:67:29: error: ‘maxlong’ was not declared in this scope if(stul2 != maxlong long){ ^ garden.cpp:67:37: error: expected ‘)’ before ‘long’ if(stul2 != maxlong long){ ^ garden.cpp:81:21: error: ‘maxlong’ was not declared in this scope long long ats = maxlong long; ^ garden.cpp:102:38: error: expected ‘,’ or ‘;’ before ‘long’ long long minSoFar = maxlong long; ^ garden.cpp:123:23: error: expected ‘)’ before ‘long’ if(ats == maxlong long) cout << "NO"; ^

nr.resulttimemessage