Skip to content

Instantly share code, notes, and snippets.

@draqoon
Last active December 11, 2015 05:50
Show Gist options
  • Save draqoon/719fd2018cb088157d5f to your computer and use it in GitHub Desktop.
Save draqoon/719fd2018cb088157d5f to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
public class Hello {
public static void Main() {
var line = Console.ReadLine().Split( ' ' );
var boxCount = int.Parse( line[0] );
var radius = decimal.Parse( line[1] );
var boxNos = new List<int>();
for( var boxNo = 1; boxNo <= boxCount; boxNo++ ) {
line = Console.ReadLine().Split( ' ' );
if( Array.TrueForAll<string>( line, s => radius <= decimal.Parse( s ) ) ) {
boxNos.Add( boxNo );
}
}
foreach( var n in boxNos ) {
Console.WriteLine( n );
}
}
}
using System;
using System.Collections.Generic;
public class Hello {
public static void Main() {
var line = Console.ReadLine().Split( ' ' );
var boxCount = int.Parse( line[0] );
var radius = decimal.Parse( line[1] );
var boxNos = new List<int>();
for( var boxNo = 1; boxNo <= boxCount; boxNo++ ) {
line = Console.ReadLine().Split( ' ' );
if( Array.TrueForAll<string>( line, s => radius <= decimal.Parse( s ) ) ) {
boxNos.Add( boxNo );
}
}
foreach( var n in boxNos ) {
Console.WriteLine( n );
}
}
}
using System;
using System.Collections.Generic;
public class Hello {
public static void Main() {
var line = Console.ReadLine().Split( ' ' );
var boxCount = int.Parse( line[0] );
var radius = decimal.Parse( line[1] );
var boxNos = new List<int>();
for( var boxNo = 1; boxNo <= boxCount; boxNo++ ) {
line = Console.ReadLine().Split( ' ' );
if( Array.TrueForAll<string>( line, s => radius <= decimal.Parse( s ) ) ) {
boxNos.Add( boxNo );
}
}
foreach( var n in boxNos ) {
Console.WriteLine( n );
}
}
}
@paiza-team
Copy link

paiza回答コード掲載停止のお願い

いつもご利用ありがとうございます。
paiza運営事務局です。

こちらのgistを拝見しまして、
paizaの掲載中の問題について記載されてらっしゃったため、ご連絡させていただきました。

paizaにおいては、利用規約第8条(禁止事項)10項で、問題に関する内容、解答、ヒントを含め、
他サイトでの掲載を禁止させていただいております。

利用規約第8条10項(禁止事項)
http://paiza.jp/guide/kiyaku

===
10.ブログ・SNS等本サイト以外の媒体(インターネット媒体に限られず、不特定多数が閲覧可能なものを全て含む。)上において、
当社が出題した問題の内容、当該問題に対する解答、解答へのヒント等の示唆及びカンニング等の不正を助長する内容等を掲載する行為.。
===

現在ご掲載中のコードついて、早急に削除または非掲載対応をお願いできますでしょうか。

大変お手数ですが、よろしくお願い致します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment