Pagini recente » Cod sursa (job #3167390) | Cod sursa (job #62276) | Cod sursa (job #890746) | Cod sursa (job #72671) | Borderou de evaluare (job #1681490)
Borderou de evaluare (job #1681490)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:60: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
for(j=0;t>0||j<getmax(cif[i&1][mat[nr][x]],cif[1-i&1][x]);j++){
^
user.cpp:39:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
t=t+d[i&1][mat[nr][x]][j]+d[1-i&1][x][j];
^
user.cpp:47:51: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
for(j=0;t>0||j<getmax(cif[i&1][x],cif[1-i&1][x]);j++){
^
user.cpp:48:36: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
t=t+d[i&1][x][j]+d[1-i&1][x][j];
^
user.cpp:24:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d" ,&n);
^
user.cpp:29:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d" ,&nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 180ms | 4252kb | Okay! | 5 |
| 2 | 180ms | 4344kb | Okay! | 5 |
| 3 | 180ms | 4180kb | Raspuns gresit! | 0 |
| 4 | 184ms | 4228kb | Okay! | 5 |
| 5 | 184ms | 4272kb | Okay! | 5 |
| 6 | 188ms | 4288kb | Okay! | 5 |
| 7 | 192ms | 4968kb | Okay! | 5 |
| 8 | 196ms | 4904kb | Okay! | 5 |
| 9 | Depăşit | 5076kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5340kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 4212kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 4208kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 5484kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 4920kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 4168kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 4876kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 5588kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 5608kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 4172kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 5620kb | Time limit exceeded. | 0 |
| Punctaj total | 35 |