Advertisement
Abrar_Al_Samit

Tester

May 12th, 2022 (edited)
934
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.25 KB | None | 0 0
  1. @echo off
  2. for /l %%x in (1, 1, 1000) do (
  3.     echo %%x
  4.     gen %%x > in.in
  5.     a < in.in > out.out
  6.     b   < in.in > out2.out
  7.     fc /w out.out out2.out > diagnostics || (
  8.         echo Wrong Answer
  9.         exit /b
  10.     )
  11.    
  12. )
  13. echo Accepted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement