This file contains hidden or 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
| #include<stdio.h> | |
| #define BOWLS 40 | |
| #define ORANGES 9 | |
| int count = 0; | |
| // All the places in which an orange can't be placed are 1's | |
| int used[BOWLS]; | |
| // A list of the oranges already placed. |
This file contains hidden or 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
| var http = require('http'), | |
| should = require('should'), | |
| io = require('socket.io'), | |
| decode = require('.npm/socket.io/0.6.8/package/lib/socket.io/utils').decode, | |
| encode = require('.npm/socket.io/0.6.8/package/lib/socket.io/utils').encode, | |
| WebSocket = require('.npm/socket.io/0.6.8/package/support/node-websocket-client/lib/websocket.js').WebSocket; | |
| exports['Socket.IO mocking'] = function(assert){ | |
| var _server = require('http').createServer(function(){}); | |
| // A mock client object. |
NewerOlder