Pagini recente » Borderou de evaluare (job #285554) | Borderou de evaluare (job #885887) | Borderou de evaluare (job #1620536) | Borderou de evaluare (job #2877597) | Borderou de evaluare (job #2182981)
Borderou de evaluare (job #2182981)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:70:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(mark[z.x][z.y]==2)
^
user.cpp:24:39: warning: unused variable ‘quest’ [-Wunused-variable]
int n,m,i,j,x1,y1,x2,y2,x3,y3,rez,quest,ct;
^
user.cpp:24:45: warning: unused variable ‘ct’ [-Wunused-variable]
int n,m,i,j,x1,y1,x2,y2,x3,y3,rez,quest,ct;
^
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("delfin.in","r",stdin);
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("delfin.out","w",stdout);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",aux);
^
user.cpp:44:19: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mark[x1][y1]=1;
^
user.cpp:44:19: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:45:19: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mark[x2][y2]=2;
^
user.cpp:45:19: warning: ‘y2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:60:16: warning: ‘x3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(f[x3][y3])
^
user.cpp:60:16: warning: ‘y3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 21 | 8ms | 10528kb | OK! | 0 | 0 |
| 22 | 8ms | 10552kb | OK! | 0 | 0 |
| 23 | 8ms | 12556kb | OK! | 0 | 0 |
| 1 | 8ms | 10536kb | OK! | 5 | 5 |
| 2 | 8ms | 10636kb | OK! | 5 | 5 |
| 3 | 4ms | 10476kb | OK! | 5 | 5 |
| 4 | 8ms | 10504kb | Raspuns gresit! | 0 | 0 |
| 5 | 8ms | 12632kb | OK! | 5 | 5 |
| 6 | 8ms | 12656kb | OK! | 5 | 5 |
| 7 | 8ms | 12668kb | Raspuns gresit! | 0 | 0 |
| 8 | 8ms | 12788kb | Raspuns gresit! | 0 | 0 |
| 9 | 8ms | 12724kb | OK! | 5 | 5 |
| 10 | 8ms | 12760kb | Raspuns gresit! | 0 | 0 |
| 11 | 20ms | 15808kb | OK! | 5 | 5 |
| 12 | 20ms | 15836kb | Raspuns gresit! | 0 | 0 |
| 13 | 44ms | 18508kb | Raspuns gresit! | 0 | 0 |
| 14 | 68ms | 18808kb | Raspuns gresit! | 0 | 0 |
| 15 | 92ms | 18788kb | OK! | 5 | 5 |
| 16 | 112ms | 18952kb | Raspuns gresit! | 0 | 0 |
| 17 | 96ms | 19004kb | Raspuns gresit! | 0 |
| 18 | 68ms | 16972kb | OK! | 5 |
| 19 | 120ms | 19028kb | Raspuns gresit! | 0 |
| 20 | 8ms | 12724kb | OK! | 5 |
| Punctaj total | 40 |