Created By: eddieantonio
Created At: Thu, 07 Jan 2016 00:25:18 -0600
Input Dataset: 2013 September/SF (small)
Last Submitted At: Thu, 07 Jan 2016 00:25:18 -0600
Last Finished At: Thu, 07 Jan 2016 00:25:40 -0600 (22s)
Source Code
# Counting the 10 most used programming languages
p: Project = input;
counts: output top(10) of string weight int;
foreach (i: int; def(p.programming_languages[i]))
counts << p.programming_languages[i] weight 1;
Output
Job Output Size: 228 bytes
counts[] = java, 493
counts[] = c++, 429
counts[] = php, 358
counts[] = c, 308
counts[] = c#, 145
counts[] = javascript, 135
counts[] = python, 127
counts[] = perl, 107
counts[] = unix shell, 42
counts[] = visual basic .net, 41
Compilation
Status: Finished
Started: Thu, 07 Jan 2016 00:25:18 -0600
Finished: Thu, 07 Jan 2016 00:25:20 -0600 (2s)
Execution
Status: Finished
Started: Thu, 07 Jan 2016 00:25:23 -0600
Finished: Thu, 07 Jan 2016 00:25:40 -0600 (17s)