Problem p03239 (python)

Fixed submission:
n,T = map(int,input().split())
mn = 1001
for i in range(n):
    c,t = map(int,input().split())
    if t <= T:
        mn = min(mn,c)

if mn == 1001:
    print("TLE")
else :
    print(mn)

Buggy submission (verdict: Runtime Error):
#include<iostream>
#include<algorithm>
#include<vector>

using namespace std;

int main(){
  int N, T; 
  cin >> N >> T;
  vector<int> c[N]
  vector<int> t[N];
  for(int i = 0; i < N; ++i) {
    cin >> c[i] >> t[i];
  }
  int MAX = 1 << 30;
  int ans = MAX;

  for (int i = 0; i < N; ++i){
    if(t[i] <= T){
      ans = min(ans, c[i]);
      
    }
  }

  if (ans <  MAX){
    cout << ans << endl;
  }
  else {
    cout << "TLE" << endl;
  }
}

Buggy submission (verdict: Runtime Error):
#include<iostream>
#include<algorithm>
#include<vector>

using namespace std;

int main(){
  int N, T; 
  cin >> N >> T;
  vector<int> c[N], t[N];
  for(int i = 0, i < N; ++i) {
    cin >> c[i] >> t[i];
  }
  int MAX = 1 << 30;
  int ans = MAX;

  for (int i = 0; i < N; ++i){
    if(t[i] <= T){
      ans = min(ans, c[i]);
      
    }
  }

  if (ans <  MAX){
    cout << ans << endl;
  }
  else {
    cout << "TLE" << endl;
  }
}

Buggy submission (verdict: Runtime Error):
#include<iostream>
#include<algorithm>
#include<vector>

using namespace std;

int main(){
  int N, T; cin >> N >> T;
  vector<int> c[N], t[N];
  for(int i = 0, i < N; ++i) {
    cin >> c[i] >> t[i];
  }
  int MAX = 1 << 30;
  int ans = MAX;

  for (int i = 0; i < N; ++i){
    if(t[i] <= T){
      ans = min(ans, c[i]);
      
    }
  }

  if (ans <  MAX){
    cout << ans << endl;
  }
  else {
    cout << "TLE" << endl;
  }
}

Buggy submission (verdict: Runtime Error):
#include<iostream>
#include<algorithm>
#include<vector>

using namespace std;

int main(){
  int N, T; cin >> N >> T;
  vector<int> c[i], t[i];
  for(int i = 0, i < N; ++i) {
    cin >> c[i] >> t[i];
  }
  int MAX = 1 << 30;
  int ans = MAX;

  for (int i = 0; i < N; ++i){
    if(t[i] <= T){
      ans = min(ans, c[i]);
      
    }
  }

  if (ans <  MAX){
    cout << ans << endl;
  }
  else {
    cout << "TLE" << endl;
  }
}

Buggy submission (verdict: Runtime Error):
N, T = map(int, input().split())
li = []
try:
  li = [list(map(int, input().split())) for i in range(N)]
except EOFError:
  pass

li2 = [] 

for s in li:
  if s[0:] <= T:
    li2 = li2.append(s)
    for t in li2:
      minli = min(li2[:1])
      print(minli)
      
  else:
    print("TLE")

Buggy submission (verdict: Runtime Error):
N, T = map(int, input().split())
li = [list(map(int, input().split())) for i in range(N)]
li2 = [] 

for s in li:
  if s[0:] <= T:
    li2 = li2.append(s)
    for t in li2:
      minli = min(li2[:1])
      print(minli)
      
  else:
    print("TLE")

Buggy submission (verdict: Runtime Error):
N, T = map(int, input().split())
li = [list(map(int, input().split())) for i in range(N)]
li2 = []

if 


for s in li:
  if s[0:] <= T:
    li2 = li2.append(s)
    for t in li2:
      minli = min(li2[:1])
      print(minli)
      
  else:
    print("TLE")

Buggy submission (verdict: Runtime Error):
import numpy as np
N, T = map(int, input().split()) #代入

li = list(map(int, input().split())) for i in range(N)　#代入、二次元リスト完成
li2 = []

for s in li:
  if s[0:] <= T:
    li2 = li2.append(s)　　　　#li2で列部分がT以下のものを抽出したい

for t in li2:
  minli = min(li2[[:1]])

print(minli)

Buggy submission (verdict: Runtime Error):
import numpy as np
N, T = map(int, input().split())

li = list(map(int, input().split())) for i in range(N)
        
li2 = list(li for t in li[,1] <= T)
      minli = min(li2[0,])
      
print(minli)

Buggy submission (verdict: Runtime Error):
import numpy as np
N, T = map(int, input().split())

li = [list(map(int, input().split())) for i in range(N)
        
li2 = list[li for t in li[,1] <= T]
      minli = min(li2[0,])
      
print(minli)

Buggy submission (verdict: Runtime Error):
N, T = map(int, input().split())
data = [list(map(int, input().split())) for i in range(N)
        
l = list[s for s in data if data.split([:1]) <= T
     
minl = t for t in min(l.split([0:])
      
print(minl)