Borderou de evaluare (job #2493539)

Utilizator rares22iunieDoroftei Rares rares22iunie Data 16 noiembrie 2019 13:45:06
Problema Rover Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:69:28: error: 'g' was not declared in this scope scanf("%d %d",&n,&g); ^ main.cpp:88:25: error: invalid use of member function 'void std::deque<_Tp, _Alloc>::pop_back() [with _Tp = int; _Alloc = std::allocator<int>]' (did you forget the '()' ?) l=coadx.pop_back+dirx[j]; ~~~~~~^~~~~~~~ main.cpp:89:25: error: invalid use of member function 'void std::deque<_Tp, _Alloc>::pop_back() [with _Tp = int; _Alloc = std::allocator<int>]' (did you forget the '()' ?) c=coady.pop_back+diry[j]; ~~~~~~^~~~~~~~ main.cpp:16:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rover.in","r",stdin); ^ main.cpp:17:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rover.out","w",stdout); ^ main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&c1); ^ main.cpp:21:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:26:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^ main.cpp:74:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^ Non zero exit status: 1

Ceva nu functioneaza?