Cody

Problem 1162. Happy 2013...

Solution 1566560

Submitted on 21 Jun 2018 by Martin C.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
start=1000; finish=1023; y_correct = 1; assert(isequal(diff_digits(start,finish),y_correct))

temp = 0 temp = 1

2   Pass
start=1000; finish=9999; y_correct = 4536; assert(isequal(diff_digits(start,finish),y_correct))

temp = 0 temp = 1 temp = 2 temp = 3 temp = 4 temp = 5 temp = 6 temp = 7 temp = 8 temp = 9 temp = 10 temp = 11 temp = 12 temp = 13 temp = 14 temp = 15 temp = 16 temp = 17 temp = 18 temp = 19 temp = 20 temp = 21 temp = 22 temp = 23 temp = 24 temp = 25 temp = 26 temp = 27 temp = 28 temp = 29 temp = 30 temp = 31 temp = 32 temp = 33 temp = 34 temp = 35 temp = 36 temp = 37 temp = 38 temp = 39 temp = 40 temp = 41 temp = 42 temp = 43 temp = 44 temp = 45 temp = 46 temp = 47 temp = 48 temp = 49 temp = 50 temp = 51 temp = 52 temp = 53 temp = 54 temp = 55 temp = 56 temp = 57 temp = 58 temp = 59 temp = 60 temp = 61 temp = 62 temp = 63 temp = 64 temp = 65 temp = 66 temp = 67 temp = 68 temp = 69 temp = 70 temp = 71 temp = 72 temp = 73 temp = 74 temp = 75 temp = 76 temp = 77 temp = 78 temp = 79 temp = 80 temp = 81 temp = 82 temp = 83 temp = 84 temp = 85 temp = 86 temp = 87 temp = 88 temp = 89 temp = 90 temp = 91 temp = 92 temp = 93 temp = 94 temp = 95 temp = 96 temp = 97 temp = 98 temp = 99 temp = 100 temp = 101 temp = 102 temp = 103 temp = 104 temp = 105 temp = 106 temp = 107 temp = 108 temp = 109 temp = 110 temp = 111 temp = 112 temp = 113 temp = 114 temp = 115 temp = 116 temp = 117 temp = 118 temp = 119 temp = 120 temp = 121 temp = 122 temp = 123 temp = 124 temp = 125 temp = 126 temp = 127 temp = 128 temp = 129 temp = 130 temp = 131 temp = 132 temp = 133 temp = 134 temp = 135 temp = 136 temp = 137 temp = 138 temp = 139 temp = 140 temp = 141 temp = 142 temp = 143 temp = 144 temp = 145 temp = 146 temp = 147 temp = 148 temp = 149 temp = 150 temp = 151 temp = 152 temp = 153 temp = 154 temp = 155 temp = 156 temp = 157 temp = 158 temp = 159 temp = 160 temp = 161 temp = 162 temp = 163 temp = 164 temp = 165 temp = 166 temp = 167 temp = 168 temp = 169 temp = 170 temp = 171 temp = 172 temp = 173 temp = 174 temp = 175 temp = 176 temp = 177 temp = 178 temp = 179 temp = 180 temp = 181 temp = 182 temp = 183 temp = 184 temp = 185 temp = 186 temp = 187 temp = 188 temp = 189 temp = 190 temp = 191 temp = 192 temp = 193 temp = 194 temp = 195 temp = 196 temp = 197 temp = 198 temp = 199 temp = 200 temp = 201 temp = 202 temp = 203 temp = 204 temp = 205 temp = 206 temp = 207 temp = 208 temp = 209 temp = 210 temp = 211 temp = 212 temp = 213 temp = 214 temp = 215 temp = 216 temp = 217 temp = 218 temp = 219 temp = 220 temp = 221 temp = 222 temp = 223 temp = 224 temp = 225 temp = 226 temp = 227 temp = 228 temp = 229 temp = 230 temp = 231 temp = 232 temp = 233 temp = 234 temp = 235 temp = 236 temp = 237 temp = 238 temp = 239 temp = 240 temp = 241 temp = 242 temp = 243 temp = 244 temp = 245 temp = 246 temp = 247 temp = 248 temp = 249 temp = 250 temp = 251 temp = 252 temp = 253 temp = 254 temp = 255 temp = 256 temp = 257 temp = 258 temp = 259 temp = 260 temp = 261 temp = 262 temp = 263 temp = 264 temp = 265 temp = 266 temp = 267 temp = 268 temp = 269 temp = 270 temp = 271 temp = 272 temp = 273 temp = 274 temp = 275 temp = 276 temp = 277 temp = 278 temp = 279 temp = 280 temp = 281 temp = 282 temp = 283 temp = 284 temp = 285 temp = 286 temp = 287 temp = 288 temp = 289 temp = 290 temp = 291 temp = 292 temp = 293 temp = 294 temp = 295 temp = 296 temp = 297 temp = 298 temp = 299 temp = 300 temp = 301 temp = 302 temp = 303 temp = 304 temp = 305 temp = 306 temp = 307 temp = 308 temp = 309 temp = 310 temp = 311 temp = 312 temp = 313 temp = 314 temp = 315 temp = 316 temp = 317 temp = 318 temp = 319 temp = 320 temp = 321 temp = 322 temp = 323 temp = 324 temp = 325 temp = 326 temp = 327 temp = 328 temp = 329 temp = 330 temp = 331 temp = 332 temp = 333 temp = 334 temp = 335 temp = 336 temp = 337 temp = 338 temp = 339 temp = 340 temp = 341 temp = 342 temp = 343 temp = 344 temp = 345 temp = 346 temp = 347 temp = 348 temp = 349 temp = 350 temp = 351 temp = 352 temp = 353 temp = 354 temp = 355 temp = 356 temp = 357 temp = 358 temp = 359 temp = 360 temp = 361 temp = 362 temp = 363 temp = 364 temp = 365 temp = 366 temp = 367 temp = 368 temp = 369 temp = 370 temp = 371 temp = 372 temp = 373 temp = 374 temp = 375 temp = 376 temp = 377 temp = 378 temp = 379 temp = 380 temp = 381 temp = 382 temp = 383 temp = 384 temp = 385 temp = 386 temp = 387 temp = 388 temp = 389 temp = 390 temp = 391 temp = 392 temp = 393 temp = 394 temp = 395 temp = 396 temp = 397 temp = 398 temp = 399 temp = 400 temp = 401 temp = 402 temp = 403 temp = 404 temp = 405 temp = 406 temp = 407 temp = 408 temp = 409 temp = 410 temp = 411 temp = 412 temp = 413 temp = 414 temp = 415 temp = 416 temp = 417 temp = 418 temp = 419 temp = 420 temp = 421 temp = 422 temp = 423 temp = 424 temp = 425 temp = 426 temp = 427 temp = 428 temp = 429 temp = 430 temp = 431 temp = 432 temp = 433 temp = 434 temp = 435 temp = 436 temp = 437 temp = 438 temp = 439 temp = 440 temp = 441 temp = 442 temp = 443 temp = 444 temp = 445 temp = 446 temp = 447 temp = 448 temp = 449 temp = 450 temp = 451 temp = 452 temp = 453 temp = 454 temp = 455 temp = 456 temp = 457 temp = 458 temp = 459 temp = 460 temp = 461 temp = 462 temp = 463 temp = 464 temp = 465 temp = 466 temp = 467 temp = 468 temp = 469 temp = 470 temp = 471 temp = 472 temp = 473 temp = 474 temp = 475 temp = 476 temp = 477 temp = 478 temp = 479 temp = 480 temp = 481 temp = 482 temp = 483 temp = 484 temp = 485 temp = 486 temp = 487 temp = 488 temp = 489 temp = 490 temp = 491 temp = 492 temp = 493 temp = 494 temp = 495 temp = 496 temp = 497 temp = 498 temp = 499 temp = 500 temp = 501 temp = 502 temp = 503 temp = 504 temp = 505 temp = 506 temp = 507 temp = 508 temp = 509 temp = 510 temp = 511 temp = 512 temp = 513 temp = 514 temp = 515 temp = 516 temp = 517 temp = 518 temp = 519 temp = 520 temp = 521 temp = 522 temp = 523 temp = 524 temp = 525 temp = 526 temp = 527 temp = 528 temp = 529 temp = 530 temp = 531 temp = 532 temp = 533 temp = 534 temp = 535 temp = 536 temp = 537 temp = 538 temp = 539 temp = 540 temp = 541 temp = 542 temp = 543 temp = 544 temp = 545 temp = 546 temp = 547 temp = 548 temp = 549 temp = 550 temp = 551 temp = 552 temp = 553 temp = 554 temp = 555 temp = 556 temp = 557 temp = 558 temp = 559 temp = 560 temp = 561 temp = 562 temp = 563 temp = 564 temp = 565 temp = 566 temp = 567 temp = 568 temp = 569 temp = 570 temp = 571 temp = 572 temp = 573 temp = 574 temp = 575 temp = 576 temp = 577 temp = 578 temp = 579 temp = 580 temp = 581 temp = 582 temp = 583 temp = 584 temp = 585 temp = 586 temp = 587 temp...

3   Pass
start=1234; finish=5678; y_correct = 2273; assert(isequal(diff_digits(start,finish),y_correct))

temp = 0 temp = 1 temp = 2 temp = 3 temp = 4 temp = 5 temp = 6 temp = 7 temp = 8 temp = 9 temp = 10 temp = 11 temp = 12 temp = 13 temp = 14 temp = 15 temp = 16 temp = 17 temp = 18 temp = 19 temp = 20 temp = 21 temp = 22 temp = 23 temp = 24 temp = 25 temp = 26 temp = 27 temp = 28 temp = 29 temp = 30 temp = 31 temp = 32 temp = 33 temp = 34 temp = 35 temp = 36 temp = 37 temp = 38 temp = 39 temp = 40 temp = 41 temp = 42 temp = 43 temp = 44 temp = 45 temp = 46 temp = 47 temp = 48 temp = 49 temp = 50 temp = 51 temp = 52 temp = 53 temp = 54 temp = 55 temp = 56 temp = 57 temp = 58 temp = 59 temp = 60 temp = 61 temp = 62 temp = 63 temp = 64 temp = 65 temp = 66 temp = 67 temp = 68 temp = 69 temp = 70 temp = 71 temp = 72 temp = 73 temp = 74 temp = 75 temp = 76 temp = 77 temp = 78 temp = 79 temp = 80 temp = 81 temp = 82 temp = 83 temp = 84 temp = 85 temp = 86 temp = 87 temp = 88 temp = 89 temp = 90 temp = 91 temp = 92 temp = 93 temp = 94 temp = 95 temp = 96 temp = 97 temp = 98 temp = 99 temp = 100 temp = 101 temp = 102 temp = 103 temp = 104 temp = 105 temp = 106 temp = 107 temp = 108 temp = 109 temp = 110 temp = 111 temp = 112 temp = 113 temp = 114 temp = 115 temp = 116 temp = 117 temp = 118 temp = 119 temp = 120 temp = 121 temp = 122 temp = 123 temp = 124 temp = 125 temp = 126 temp = 127 temp = 128 temp = 129 temp = 130 temp = 131 temp = 132 temp = 133 temp = 134 temp = 135 temp = 136 temp = 137 temp = 138 temp = 139 temp = 140 temp = 141 temp = 142 temp = 143 temp = 144 temp = 145 temp = 146 temp = 147 temp = 148 temp = 149 temp = 150 temp = 151 temp = 152 temp = 153 temp = 154 temp = 155 temp = 156 temp = 157 temp = 158 temp = 159 temp = 160 temp = 161 temp = 162 temp = 163 temp = 164 temp = 165 temp = 166 temp = 167 temp = 168 temp = 169 temp = 170 temp = 171 temp = 172 temp = 173 temp = 174 temp = 175 temp = 176 temp = 177 temp = 178 temp = 179 temp = 180 temp = 181 temp = 182 temp = 183 temp = 184 temp = 185 temp = 186 temp = 187 temp = 188 temp = 189 temp = 190 temp = 191 temp = 192 temp = 193 temp = 194 temp = 195 temp = 196 temp = 197 temp = 198 temp = 199 temp = 200 temp = 201 temp = 202 temp = 203 temp = 204 temp = 205 temp = 206 temp = 207 temp = 208 temp = 209 temp = 210 temp = 211 temp = 212 temp = 213 temp = 214 temp = 215 temp = 216 temp = 217 temp = 218 temp = 219 temp = 220 temp = 221 temp = 222 temp = 223 temp = 224 temp = 225 temp = 226 temp = 227 temp = 228 temp = 229 temp = 230 temp = 231 temp = 232 temp = 233 temp = 234 temp = 235 temp = 236 temp = 237 temp = 238 temp = 239 temp = 240 temp = 241 temp = 242 temp = 243 temp = 244 temp = 245 temp = 246 temp = 247 temp = 248 temp = 249 temp = 250 temp = 251 temp = 252 temp = 253 temp = 254 temp = 255 temp = 256 temp = 257 temp = 258 temp = 259 temp = 260 temp = 261 temp = 262 temp = 263 temp = 264 temp = 265 temp = 266 temp = 267 temp = 268 temp = 269 temp = 270 temp = 271 temp = 272 temp = 273 temp = 274 temp = 275 temp = 276 temp = 277 temp = 278 temp = 279 temp = 280 temp = 281 temp = 282 temp = 283 temp = 284 temp = 285 temp = 286 temp = 287 temp = 288 temp = 289 temp = 290 temp = 291 temp = 292 temp = 293 temp = 294 temp = 295 temp = 296 temp = 297 temp = 298 temp = 299 temp = 300 temp = 301 temp = 302 temp = 303 temp = 304 temp = 305 temp = 306 temp = 307 temp = 308 temp = 309 temp = 310 temp = 311 temp = 312 temp = 313 temp = 314 temp = 315 temp = 316 temp = 317 temp = 318 temp = 319 temp = 320 temp = 321 temp = 322 temp = 323 temp = 324 temp = 325 temp = 326 temp = 327 temp = 328 temp = 329 temp = 330 temp = 331 temp = 332 temp = 333 temp = 334 temp = 335 temp = 336 temp = 337 temp = 338 temp = 339 temp = 340 temp = 341 temp = 342 temp = 343 temp = 344 temp = 345 temp = 346 temp = 347 temp = 348 temp = 349 temp = 350 temp = 351 temp = 352 temp = 353 temp = 354 temp = 355 temp = 356 temp = 357 temp = 358 temp = 359 temp = 360 temp = 361 temp = 362 temp = 363 temp = 364 temp = 365 temp = 366 temp = 367 temp = 368 temp = 369 temp = 370 temp = 371 temp = 372 temp = 373 temp = 374 temp = 375 temp = 376 temp = 377 temp = 378 temp = 379 temp = 380 temp = 381 temp = 382 temp = 383 temp = 384 temp = 385 temp = 386 temp = 387 temp = 388 temp = 389 temp = 390 temp = 391 temp = 392 temp = 393 temp = 394 temp = 395 temp = 396 temp = 397 temp = 398 temp = 399 temp = 400 temp = 401 temp = 402 temp = 403 temp = 404 temp = 405 temp = 406 temp = 407 temp = 408 temp = 409 temp = 410 temp = 411 temp = 412 temp = 413 temp = 414 temp = 415 temp = 416 temp = 417 temp = 418 temp = 419 temp = 420 temp = 421 temp = 422 temp = 423 temp = 424 temp = 425 temp = 426 temp = 427 temp = 428 temp = 429 temp = 430 temp = 431 temp = 432 temp = 433 temp = 434 temp = 435 temp = 436 temp = 437 temp = 438 temp = 439 temp = 440 temp = 441 temp = 442 temp = 443 temp = 444 temp = 445 temp = 446 temp = 447 temp = 448 temp = 449 temp = 450 temp = 451 temp = 452 temp = 453 temp = 454 temp = 455 temp = 456 temp = 457 temp = 458 temp = 459 temp = 460 temp = 461 temp = 462 temp = 463 temp = 464 temp = 465 temp = 466 temp = 467 temp = 468 temp = 469 temp = 470 temp = 471 temp = 472 temp = 473 temp = 474 temp = 475 temp = 476 temp = 477 temp = 478 temp = 479 temp = 480 temp = 481 temp = 482 temp = 483 temp = 484 temp = 485 temp = 486 temp = 487 temp = 488 temp = 489 temp = 490 temp = 491 temp = 492 temp = 493 temp = 494 temp = 495 temp = 496 temp = 497 temp = 498 temp = 499 temp = 500 temp = 501 temp = 502 temp = 503 temp = 504 temp = 505 temp = 506 temp = 507 temp = 508 temp = 509 temp = 510 temp = 511 temp = 512 temp = 513 temp = 514 temp = 515 temp = 516 temp = 517 temp = 518 temp = 519 temp = 520 temp = 521 temp = 522 temp = 523 temp = 524 temp = 525 temp = 526 temp = 527 temp = 528 temp = 529 temp = 530 temp = 531 temp = 532 temp = 533 temp = 534 temp = 535 temp = 536 temp = 537 temp = 538 temp = 539 temp = 540 temp = 541 temp = 542 temp = 543 temp = 544 temp = 545 temp = 546 temp = 547 temp = 548 temp = 549 temp = 550 temp = 551 temp = 552 temp = 553 temp = 554 temp = 555 temp = 556 temp = 557 temp = 558 temp = 559 temp = 560 temp = 561 temp = 562 temp = 563 temp = 564 temp = 565 temp = 566 temp = 567 temp = 568 temp = 569 temp = 570 temp = 571 temp = 572 temp = 573 temp = 574 temp = 575 temp = 576 temp = 577 temp = 578 temp = 579 temp = 580 temp = 581 temp = 582 temp = 583 temp = 584 temp = 585 temp = 586 temp = 587 temp...

4   Pass
assert(isequal(diff_digits(4321,6789),1210))

temp = 0 temp = 1 temp = 2 temp = 3 temp = 4 temp = 5 temp = 6 temp = 7 temp = 8 temp = 9 temp = 10 temp = 11 temp = 12 temp = 13 temp = 14 temp = 15 temp = 16 temp = 17 temp = 18 temp = 19 temp = 20 temp = 21 temp = 22 temp = 23 temp = 24 temp = 25 temp = 26 temp = 27 temp = 28 temp = 29 temp = 30 temp = 31 temp = 32 temp = 33 temp = 34 temp = 35 temp = 36 temp = 37 temp = 38 temp = 39 temp = 40 temp = 41 temp = 42 temp = 43 temp = 44 temp = 45 temp = 46 temp = 47 temp = 48 temp = 49 temp = 50 temp = 51 temp = 52 temp = 53 temp = 54 temp = 55 temp = 56 temp = 57 temp = 58 temp = 59 temp = 60 temp = 61 temp = 62 temp = 63 temp = 64 temp = 65 temp = 66 temp = 67 temp = 68 temp = 69 temp = 70 temp = 71 temp = 72 temp = 73 temp = 74 temp = 75 temp = 76 temp = 77 temp = 78 temp = 79 temp = 80 temp = 81 temp = 82 temp = 83 temp = 84 temp = 85 temp = 86 temp = 87 temp = 88 temp = 89 temp = 90 temp = 91 temp = 92 temp = 93 temp = 94 temp = 95 temp = 96 temp = 97 temp = 98 temp = 99 temp = 100 temp = 101 temp = 102 temp = 103 temp = 104 temp = 105 temp = 106 temp = 107 temp = 108 temp = 109 temp = 110 temp = 111 temp = 112 temp = 113 temp = 114 temp = 115 temp = 116 temp = 117 temp = 118 temp = 119 temp = 120 temp = 121 temp = 122 temp = 123 temp = 124 temp = 125 temp = 126 temp = 127 temp = 128 temp = 129 temp = 130 temp = 131 temp = 132 temp = 133 temp = 134 temp = 135 temp = 136 temp = 137 temp = 138 temp = 139 temp = 140 temp = 141 temp = 142 temp = 143 temp = 144 temp = 145 temp = 146 temp = 147 temp = 148 temp = 149 temp = 150 temp = 151 temp = 152 temp = 153 temp = 154 temp = 155 temp = 156 temp = 157 temp = 158 temp = 159 temp = 160 temp = 161 temp = 162 temp = 163 temp = 164 temp = 165 temp = 166 temp = 167 temp = 168 temp = 169 temp = 170 temp = 171 temp = 172 temp = 173 temp = 174 temp = 175 temp = 176 temp = 177 temp = 178 temp = 179 temp = 180 temp = 181 temp = 182 temp = 183 temp = 184 temp = 185 temp = 186 temp = 187 temp = 188 temp = 189 temp = 190 temp = 191 temp = 192 temp = 193 temp = 194 temp = 195 temp = 196 temp = 197 temp = 198 temp = 199 temp = 200 temp = 201 temp = 202 temp = 203 temp = 204 temp = 205 temp = 206 temp = 207 temp = 208 temp = 209 temp = 210 temp = 211 temp = 212 temp = 213 temp = 214 temp = 215 temp = 216 temp = 217 temp = 218 temp = 219 temp = 220 temp = 221 temp = 222 temp = 223 temp = 224 temp = 225 temp = 226 temp = 227 temp = 228 temp = 229 temp = 230 temp = 231 temp = 232 temp = 233 temp = 234 temp = 235 temp = 236 temp = 237 temp = 238 temp = 239 temp = 240 temp = 241 temp = 242 temp = 243 temp = 244 temp = 245 temp = 246 temp = 247 temp = 248 temp = 249 temp = 250 temp = 251 temp = 252 temp = 253 temp = 254 temp = 255 temp = 256 temp = 257 temp = 258 temp = 259 temp = 260 temp = 261 temp = 262 temp = 263 temp = 264 temp = 265 temp = 266 temp = 267 temp = 268 temp = 269 temp = 270 temp = 271 temp = 272 temp = 273 temp = 274 temp = 275 temp = 276 temp = 277 temp = 278 temp = 279 temp = 280 temp = 281 temp = 282 temp = 283 temp = 284 temp = 285 temp = 286 temp = 287 temp = 288 temp = 289 temp = 290 temp = 291 temp = 292 temp = 293 temp = 294 temp = 295 temp = 296 temp = 297 temp = 298 temp = 299 temp = 300 temp = 301 temp = 302 temp = 303 temp = 304 temp = 305 temp = 306 temp = 307 temp = 308 temp = 309 temp = 310 temp = 311 temp = 312 temp = 313 temp = 314 temp = 315 temp = 316 temp = 317 temp = 318 temp = 319 temp = 320 temp = 321 temp = 322 temp = 323 temp = 324 temp = 325 temp = 326 temp = 327 temp = 328 temp = 329 temp = 330 temp = 331 temp = 332 temp = 333 temp = 334 temp = 335 temp = 336 temp = 337 temp = 338 temp = 339 temp = 340 temp = 341 temp = 342 temp = 343 temp = 344 temp = 345 temp = 346 temp = 347 temp = 348 temp = 349 temp = 350 temp = 351 temp = 352 temp = 353 temp = 354 temp = 355 temp = 356 temp = 357 temp = 358 temp = 359 temp = 360 temp = 361 temp = 362 temp = 363 temp = 364 temp = 365 temp = 366 temp = 367 temp = 368 temp = 369 temp = 370 temp = 371 temp = 372 temp = 373 temp = 374 temp = 375 temp = 376 temp = 377 temp = 378 temp = 379 temp = 380 temp = 381 temp = 382 temp = 383 temp = 384 temp = 385 temp = 386 temp = 387 temp = 388 temp = 389 temp = 390 temp = 391 temp = 392 temp = 393 temp = 394 temp = 395 temp = 396 temp = 397 temp = 398 temp = 399 temp = 400 temp = 401 temp = 402 temp = 403 temp = 404 temp = 405 temp = 406 temp = 407 temp = 408 temp = 409 temp = 410 temp = 411 temp = 412 temp = 413 temp = 414 temp = 415 temp = 416 temp = 417 temp = 418 temp = 419 temp = 420 temp = 421 temp = 422 temp = 423 temp = 424 temp = 425 temp = 426 temp = 427 temp = 428 temp = 429 temp = 430 temp = 431 temp = 432 temp = 433 temp = 434 temp = 435 temp = 436 temp = 437 temp = 438 temp = 439 temp = 440 temp = 441 temp = 442 temp = 443 temp = 444 temp = 445 temp = 446 temp = 447 temp = 448 temp = 449 temp = 450 temp = 451 temp = 452 temp = 453 temp = 454 temp = 455 temp = 456 temp = 457 temp = 458 temp = 459 temp = 460 temp = 461 temp = 462 temp = 463 temp = 464 temp = 465 temp = 466 temp = 467 temp = 468 temp = 469 temp = 470 temp = 471 temp = 472 temp = 473 temp = 474 temp = 475 temp = 476 temp = 477 temp = 478 temp = 479 temp = 480 temp = 481 temp = 482 temp = 483 temp = 484 temp = 485 temp = 486 temp = 487 temp = 488 temp = 489 temp = 490 temp = 491 temp = 492 temp = 493 temp = 494 temp = 495 temp = 496 temp = 497 temp = 498 temp = 499 temp = 500 temp = 501 temp = 502 temp = 503 temp = 504 temp = 505 temp = 506 temp = 507 temp = 508 temp = 509 temp = 510 temp = 511 temp = 512 temp = 513 temp = 514 temp = 515 temp = 516 temp = 517 temp = 518 temp = 519 temp = 520 temp = 521 temp = 522 temp = 523 temp = 524 temp = 525 temp = 526 temp = 527 temp = 528 temp = 529 temp = 530 temp = 531 temp = 532 temp = 533 temp = 534 temp = 535 temp = 536 temp = 537 temp = 538 temp = 539 temp = 540 temp = 541 temp = 542 temp = 543 temp = 544 temp = 545 temp = 546 temp = 547 temp = 548 temp = 549 temp = 550 temp = 551 temp = 552 temp = 553 temp = 554 temp = 555 temp = 556 temp = 557 temp = 558 temp = 559 temp = 560 temp = 561 temp = 562 temp = 563 temp = 564 temp = 565 temp = 566 temp = 567 temp = 568 temp = 569 temp = 570 temp = 571 temp = 572 temp = 573 temp = 574 temp = 575 temp = 576 temp = 577 temp = 578 temp = 579 temp = 580 temp = 581 temp = 582 temp = 583 temp = 584 temp = 585 temp = 586 temp = 587 temp...

5   Pass
assert(isequal(diff_digits(1988,2012),0))

temp = 0