Ge Wangupdated tests3a080483 years agoHistory
20 lines · 308 B · Text
RawDownload
// 1.5.0.0 | (ge)// testing random seed with shuffle [1,2,3,4,5] @=> int a[];Math.srandom(11);a.shuffle(); [1,2,3,4,5] @=> int b[];Math.srandom(11);b.shuffle(); // comparefor( int i; i < a.size(); i++ ){    // if different    if( a[i] != b[i] ) me.exit();} // got here, good<<< "success" >>>;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t