This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity 0.5.9; | |
contract OptimizedSchool{ | |
mapping(address => uint256) public scores; | |
mapping(address => address) _nextStudents; | |
uint256 public listSize; | |
address constant GUARD = address(1); | |
constructor() public { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// When runnning a Gradle build in the background, it is convenient to be notified immediately | |
// via voice once the build has finished - without having to actively switch windows to find out - | |
// and being told the actual exception in case of a build failure. | |
// Put this file into the folder ~/.gradle/init.d to enable the acoustic notifications for all builds | |
gradle.addBuildListener(new BuildAdapter() { | |
@Override | |
void buildFinished(BuildResult result) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by gokhanbarisaker on 8/30/15. | |
*/ | |
public class PicassoDecoder implements ImageDecoder | |
{ | |
private String tag; | |
private String picasso; | |
public PicassoDecoder(String tag, Picasso picasso) { | |
this.tag = tag; |