Formāts:
- garums
- tokens
- tips
- pozīcija
- teikuma numurs
#!/usr/bin/perl | |
my $type = shift @ARGV; | |
$set_id = "myset"; | |
$doc_id = "mydoc"; | |
$sys_id = "mysys"; | |
if ($type eq 'src') { |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.IO; | |
// algoritms tik elementārs, cik vien iespējams, kā arī neefektīvs | |
// netiek ņemti vērā speciāl/robežgadījumi | |
class SecretSanta | |
{ | |
static void Main() |
// Copyright (C) 2014 Pēteris Ņikiforovs | |
// | |
// This program is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or | |
// (at your option) any later version. | |
// | |
// This program is distributed in the hope that it will be useful, | |
// but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
atstāt | |
salt | |
sasalt | |
nosalt | |
pārsalt | |
pārdot | |
atdot | |
aizdot | |
nedot | |
iedot |
[Exception: Exception of type 'System.Exception' was thrown.] | |
Benchmarks.AspNet.Controllers.JsonController.Index() in JsonController.cs:10 | |
lambda_method(Closure , ControllerBase , Object[] ) +101 | |
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +59 | |
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +435 | |
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +60 | |
System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeSynchronousActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +50 | |
System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +75 | |
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +44 | |
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +139 |