Borderou de evaluare (job #2577509)

Utilizator Ruxandra985Nanu Ruxandra Laura Ruxandra985 Data 9 martie 2020 15:41:37
Problema Trapeze2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'long long int calcul(long long int, long long int, long long int, long long int, long long int, long long int)': main.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:76:68: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin,"%lld%lld%lld%lld%lld%lld",&x0,&rx,&nx,&y0,&ry,&ny); ^ main.cpp:74:55: warning: 'amax' may be used uninitialized in this function [-Wmaybe-uninitialized] long long x0 , rx , nx , y0 , ry , ny , sum , i , amax; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
22ms131kbIncorect0
32ms131kbIncorect0
42ms131kbIncorect0
558ms131kbOK10
6144ms131kbIncorect0
72ms131kbIncorect0
893ms131kbIncorect0
9147ms131kbIncorect0
104ms131kbOK10
Punctaj total30

Ceva nu functioneaza?