Borderou de evaluare (job #2492081)

Utilizator serbanmihaiserban ionescu mihai serbanmihai Data 13 noiembrie 2019 21:54:27
Problema Aquapark Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:17: error: ISO C++ forbids declaration of 'parcurgere' with no type [-fpermissive] parcurgere(int x) ^ main.cpp: In function 'int parcurgere(int)': main.cpp:30:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: At global scope: main.cpp:32:29: error: ISO C++ forbids declaration of 'parcurgeresmen' with no type [-fpermissive] parcurgeresmen(int x,int ret) ^ main.cpp: In function 'int parcurgeresmen(int, int)': main.cpp:39:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:41:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' while(!deque1[x].empty()) ^~~~~ main.cpp:51:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:83:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(b2>a1&&b2<b1&&a2<a1||a2>a1&&a2<b1&&b2>b1) ~~~~~~~~~~~~^~~~~~~ main.cpp:55:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&c,&n,&m); ^ main.cpp:57:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] {fscanf(f,"%d%d",&v[i].x,&v[i].y); ^ Non zero exit status: 1

Ceva nu functioneaza?