Borderou de evaluare (job #2318213)

Utilizator mjmilan11Mujdar Milan mjmilan11 Data 13 ianuarie 2019 13:22:59
Problema Snake Status done
Runda Fmi No Stress 8 Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:13: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] if(x<=n and x>=1 and y<=m and y>=1) return 1; ~~~~~^~~~~~~~ main.cpp:24:9: note: 'x' was declared here int x,y; ^ main.cpp:44:29: warning: 'finishy' may be used uninitialized in this function [-Wmaybe-uninitialized] while(!(x==finishx and y==finishy)) ~^~~~~~~~~ main.cpp:44:14: warning: 'finishx' may be used uninitialized in this function [-Wmaybe-uninitialized] while(!(x==finishx and y==finishy)) ~^~~~~~~~~ main.cpp:16:31: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] if(x<=n and x>=1 and y<=m and y>=1) return 1; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.cpp:24:11: note: 'y' was declared here int x,y; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns gresit!0
22ms131kbRaspuns gresit!0
34ms131kbRaspuns gresit!0
44ms131kbRaspuns gresit!0
57ms262kbRaspuns gresit!0
67ms262kbRaspuns gresit!0
76ms262kbRaspuns gresit!0
86ms262kbRaspuns gresit!0
97ms262kbOK!10
107ms262kbOK!10
Punctaj total20

Ceva nu functioneaza?