import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void main(String args[] ) throws Exception {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int n;
Scanner sc=new Scanner(System.in);
n=sc.nextInt();
Stationery[] f=new Stationery[n];
for(int i=0;i<n;i++){
int id=sc.nextInt();
int qty=sc.nextInt();
sc.nextLine();
String name=sc.nextLine();
int price=sc.nextInt();
//sc.nextLine();
f[i]=new Stationery(id,qty,name,price);
}
int chid=sc.nextInt();
Stationery ans=findStationeryWithMaximumPrice(f);
if(ans!=null){
System.out.println("id-"+ans.id);
System.out.println("quantity-"+ans.qty);
System.out.println("name-"+ans.name);
System.out.println("price-"+ans.price);
}
else{
System.out.println("No Stationery found with mentioned attribute");
}
Stationery ans1=searchStationeryById(f, chid);
if(ans1!=null){
System.out.println("id-"+ans1.id);
System.out.println("quantity-"+ans1.qty);
System.out.println("name-"+ans1.name);
System.out.println("price-"+ans1.price);
}
else{
System.out.println("No Stationery found with mentioned attribute");
}
}
public static Stationery findStationeryWithMaximumPrice(Stationery[] a)
{
Stationery ans=null;
if(a.length==0)return null;
int l=a.length;
int maxi=a[0].price;
for(int i=0;i<l;i++){
if((a[i].price)>maxi){
maxi=a[i].price;
ans=a[i];
}
}
return ans;
}
public static Stationery searchStationeryById(Stationery[] a,int id1)
{
Stationery ans1=null;
for(int i=0;i<a.length;i++){
if(a[i].id==id1){
ans1=a[i];
}
}
return ans1;
}
}
class Stationery {
int id;
int qty;
String name;
int price;
Stationery(int id,int qty,String name,int price){
this.id=id;
this.qty=qty;
this.name=name;
this.price=price;
}
}
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void main(String args[] ) throws Exception {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int n;
Scanner sc=new Scanner(System.in);
n=sc.nextInt();
Stationery[] f=new Stationery[n];
for(int i=0;i<n;i++){
int id=sc.nextInt();
int qty=sc.nextInt();
sc.nextLine();
String name=sc.nextLine();
int price=sc.nextInt();
//sc.nextLine();
f[i]=new Stationery(id,qty,name,price);
}
int chid=sc.nextInt();
Stationery ans=findStationeryWithMaximumPrice(f);
if(ans!=null){
System.out.println("id-"+ans.id);
System.out.println("quantity-"+ans.qty);
System.out.println("name-"+ans.name);
System.out.println("price-"+ans.price);
}
else{
System.out.println("No Stationery found with mentioned attribute");
}
Stationery ans1=searchStationeryById(f, chid);
if(ans1!=null){
System.out.println("id-"+ans1.id);
System.out.println("quantity-"+ans1.qty);
System.out.println("name-"+ans1.name);
System.out.println("price-"+ans1.price);
}
else{
System.out.println("No Stationery found with mentioned attribute");
}
}
public static Stationery findStationeryWithMaximumPrice(Stationery[] a)
{
Stationery ans=null;
if(a.length==0)return null;
int l=a.length;
int maxi=a[0].price;
for(int i=0;i<l;i++){
if((a[i].price)>maxi){
maxi=a[i].price;
ans=a[i];
}
}
return ans;
}
public static Stationery searchStationeryById(Stationery[] a,int id1)
{
Stationery ans1=null;
for(int i=0;i<a.length;i++){
if(a[i].id==id1){
ans1=a[i];
}
}
return ans1;
}
}
class Stationery {
int id;
int qty;
String name;
int price;
Stationery(int id,int qty,String name,int price){
this.id=id;
this.qty=qty;
this.name=name;
this.price=price;
}
}
๐3
Code For Me
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String args[] ) throws Exception { /* Enter your code here. Read input from STDIN. Print outputโฆ
Java PRA 4 jan 2022 stationery searchmax
๐1
PYTHON MCQ JAN 17 FOLLOW @codeforme
6 ACCURATE AND ACESSIBLE
26 16
27 square bullets
Mango
Apple
Bannana
28 Pant
29 35
30 Onclick
31 class
32 javascript object
33 undefined
34 seafoodcosts160
35 46
36 set()
37 print(numbers[-2]) print(numbers[3])
38 Error
39 0 1
40 [[2], [2], [2], [2]]
41 ERROR
42 print(str.count('n'))
43 HELLO
44 Finally finished!
Finally finished!
45 [1, 2, 3, 4, 4, 5, 6]
46 <class 'tuple'>
Rosy
47 <class 'set'>
48 ['id01', 'id03', 'id10', 'id12', 'id12', 'id13']
49 10
50 dict_keys(['a', 'b', 'c'])
6 ACCURATE AND ACESSIBLE
26 16
27 square bullets
Mango
Apple
Bannana
28 Pant
29 35
30 Onclick
31 class
32 javascript object
33 undefined
34 seafoodcosts160
35 46
36 set()
37 print(numbers[-2]) print(numbers[3])
38 Error
39 0 1
40 [[2], [2], [2], [2]]
41 ERROR
42 print(str.count('n'))
43 HELLO
44 Finally finished!
Finally finished!
45 [1, 2, 3, 4, 4, 5, 6]
46 <class 'tuple'>
Rosy
47 <class 'set'>
48 ['id01', 'id03', 'id10', 'id12', 'id12', 'id13']
49 10
50 dict_keys(['a', 'b', 'c'])
Pra python options may be suffeld
17 <b>
18 the below output will be diplay in gree font
small
medium
large
19 Number is 16
20 h1
21 <link rel="styleshee" href="style.css">
22 font-style: italic;
23 10
24 Bage164
25 <img src="demo.png">
26 0 2
27 True
28 Inheritance
29 12 15 18
30Hello World
17 <b>
18 the below output will be diplay in gree font
small
medium
large
19 Number is 16
20 h1
21 <link rel="styleshee" href="style.css">
22 font-style: italic;
23 10
24 Bage164
25 <img src="demo.png">
26 0 2
27 True
28 Inheritance
29 12 15 18
30Hello World
Java PRA
1 ArrayOutOfBoundException
3 easy
4 False
6 var emp={id:"101",name="Suman",salary:"50000"};
7 11
8 True javascript can change sytle
9 / is used to end tag
10<input type="checkbox"
11 <b> is used for extra imp
13 item
14 linkgroup
18 Begin End
29 True( no BEGIN awk)
30 if[-f place.text]
1 ArrayOutOfBoundException
3 easy
4 False
6 var emp={id:"101",name="Suman",salary:"50000"};
7 11
8 True javascript can change sytle
9 / is used to end tag
10<input type="checkbox"
11 <b> is used for extra imp
13 item
14 linkgroup
18 Begin End
29 True( no BEGIN awk)
30 if[-f place.text]
๐1
Guys some people sharing fake screenshot or someone else solved testcase passed screenshot don't believe them. They will scam you 100%. Remember if you send money to someone then u will never get your money back. Once money sent means Money gone... (๐๐๐ฌ๐ญ ๐ฐ๐๐ฒ ๐ญ๐จ ๐๐ก๐๐๐ค ๐ข๐ ๐ฌ๐จ๐ฆ๐๐จ๐ง๐ ๐ข๐ฌ ๐ ๐๐ง๐ฎ๐ข๐ง๐ ๐ญ๐๐ฅ๐ฅ ๐ญ๐ก๐๐ฆ ๐ญ๐จ ๐ฌ๐จ๐ฅ๐ฏ๐ ๐ฒ๐จ๐ฎ๐ซ ๐ฆ๐จ๐๐ค ๐ข๐ซ๐ ๐จ๐ซ ๐ฌ๐จ๐ฆ๐ ๐ญ๐๐ฌ๐ญ ๐๐ซ๐๐ ๐๐ง๐ ๐๐ก๐๐๐ค ๐ญ๐ก๐๐ซ๐ ๐ซ๐๐๐จ๐ซ๐ ๐ข๐ง ๐ ๐ซ๐ฉ ๐ก๐ข๐ฌ ๐๐๐๐จ๐ฎ๐ง๐ญ ๐ข๐ฌ ๐ง๐๐ฐ ๐จ๐ซ ๐จ๐ฅ๐. ๐ญ๐ก๐ ๐ฉ๐๐จ๐ฉ๐ฅ๐ ๐ฐ๐ก๐จ ๐ก๐ข๐๐ ๐ญ๐ก๐๐ซ๐ ๐ข๐๐๐ง๐ญ๐ข๐ญ๐ฒ ๐ฅ๐ข๐ค๐ ๐๐จ๐๐๐ก๐๐ฅ๐ฉ ๐๐จ๐๐๐ก๐ฎ๐ ๐๐ฑ๐๐ฆ ๐ก๐๐ฅ๐ฉ๐๐ซ ๐ฌ๐ฎ๐๐ก ๐ค๐ข๐ง๐ ๐จ๐ ๐ฎ๐ฌ๐๐ซ๐ง๐๐ฆ๐ ๐๐๐ง ๐๐ ๐๐๐ค๐)
๐๐ก๐๐๐ญ๐๐ซ'๐ฌ ๐๐ฅ๐๐๐ค๐ฅ๐ข๐ฌ๐ญ
๐๐ก๐๐ฌ๐ ๐๐ซ๐ ๐ญ๐ก๐ ๐ง๐๐ฆ๐๐ฌ ๐จ๐ ๐ฉ๐๐จ๐ฉ๐ฅ๐ ๐ฐ๐ก๐จ ๐จ๐ฐ๐๐ ๐ฆ๐จ๐ง๐๐ฒ ๐๐ง๐ ๐ญ๐ก๐๐ง ๐๐ฅ๐จ๐๐ค๐๐ ๐ฆ๐๐ง๐ฒ ๐ฎ๐ฌ๐๐ซ๐ฌ.
1. S Naveen Kumar 600+500rs (your exam)
2. Shalu thakur 500++rs (Steven Skyler)
๐๐ก๐๐ฌ๐ ๐๐ซ๐ ๐ญ๐ก๐ ๐ง๐๐ฆ๐๐ฌ ๐จ๐ ๐ฉ๐๐จ๐ฉ๐ฅ๐ ๐ฐ๐ก๐จ ๐จ๐ฐ๐๐ ๐ฆ๐จ๐ง๐๐ฒ ๐๐ง๐ ๐ญ๐ก๐๐ง ๐๐ฅ๐จ๐๐ค๐๐ ๐ฆ๐๐ง๐ฒ ๐ฎ๐ฌ๐๐ซ๐ฌ.
1. S Naveen Kumar 600+500rs (your exam)
2. Shalu thakur 500++rs (Steven Skyler)
Code For Me pinned ยซ๐๐ก๐๐๐ญ๐๐ซ'๐ฌ ๐๐ฅ๐๐๐ค๐ฅ๐ข๐ฌ๐ญ ๐๐ก๐๐ฌ๐ ๐๐ซ๐ ๐ญ๐ก๐ ๐ง๐๐ฆ๐๐ฌ ๐จ๐ ๐ฉ๐๐จ๐ฉ๐ฅ๐ ๐ฐ๐ก๐จ ๐จ๐ฐ๐๐ ๐ฆ๐จ๐ง๐๐ฒ ๐๐ง๐ ๐ญ๐ก๐๐ง ๐๐ฅ๐จ๐๐ค๐๐ ๐ฆ๐๐ง๐ฒ ๐ฎ๐ฌ๐๐ซ๐ฌ. 1. S Naveen Kumar 600+500rs (your exam) 2. Shalu thakur 500++rs (Steven Skyler)ยป
python 1 machine learning
2 Enter prise could
3 classification
4 Traditional systems
5 Veracity
6 accuate and accessible
8 instruct
11 cut -d "-" -f 1,2 Pants |sort -r
26 undefined
27
28 a (not a option)
29 , Strawberry, Mang
30 yes
31 all the best in yellow
32 11
33 all option are correct
34 truefalse
35 <br>
36 error in code
37 80640
38True
happiness
39 pugs are cute
40 capitalize()
41 bright
2
42 Syntax error
43 55
44['F', 'A', 'N', 'Y']
['F', 'A', 'N', 'T', 'A', 'S']
45{'year', 'new'}
46 Error
47 ['N', 'e', 'w', 'Y', 'e', 'a', 'r', 2022]
48 In Stock 50 30
49 ('L', 'e', 'a', [5, 'n', 'i', 'n', 'g'])
True
50 0 4 4 8
2 Enter prise could
3 classification
4 Traditional systems
5 Veracity
6 accuate and accessible
8 instruct
11 cut -d "-" -f 1,2 Pants |sort -r
26 undefined
27
28 a (not a option)
29 , Strawberry, Mang
30 yes
31 all the best in yellow
32 11
33 all option are correct
34 truefalse
35 <br>
36 error in code
37 80640
38True
happiness
39 pugs are cute
40 capitalize()
41 bright
2
42 Syntax error
43 55
44['F', 'A', 'N', 'Y']
['F', 'A', 'N', 'T', 'A', 'S']
45{'year', 'new'}
46 Error
47 ['N', 'e', 'w', 'Y', 'e', 'a', 'r', 2022]
48 In Stock 50 30
49 ('L', 'e', 'a', [5, 'n', 'i', 'n', 'g'])
True
50 0 4 4 8
๐6
Hi, This is codeforme
Here is the blacklist . Txt for proof
Share this as much as possible.
(If u also got scam report us)
๐๐ก๐๐๐ญ๐๐ซ'๐ฌ ๐๐ฅ๐๐๐ค๐ฅ๐ข๐ฌ๐ญ
๐๐ก๐๐ฌ๐ ๐๐ซ๐ ๐ญ๐ก๐ ๐ง๐๐ฆ๐๐ฌ ๐จ๐ ๐ฉ๐๐จ๐ฉ๐ฅ๐ ๐ฐ๐ก๐จ ๐จ๐ฐ๐๐ ๐ฆ๐จ๐ง๐๐ฒ ๐๐ง๐ ๐ญ๐ก๐๐ง ๐๐ฅ๐จ๐๐ค๐๐ ๐ฆ๐๐ง๐ฒ ๐ฎ๐ฌ๐๐ซ๐ฌ.
1. S Naveen Kumar 600+500rs (your exam)
2. Shalu thakur 500++rs (Steven Skyler)
Here is the blacklist . Txt for proof
Share this as much as possible.
(If u also got scam report us)
๐๐ก๐๐๐ญ๐๐ซ'๐ฌ ๐๐ฅ๐๐๐ค๐ฅ๐ข๐ฌ๐ญ
๐๐ก๐๐ฌ๐ ๐๐ซ๐ ๐ญ๐ก๐ ๐ง๐๐ฆ๐๐ฌ ๐จ๐ ๐ฉ๐๐จ๐ฉ๐ฅ๐ ๐ฐ๐ก๐จ ๐จ๐ฐ๐๐ ๐ฆ๐จ๐ง๐๐ฒ ๐๐ง๐ ๐ญ๐ก๐๐ง ๐๐ฅ๐จ๐๐ค๐๐ ๐ฆ๐๐ง๐ฒ ๐ฎ๐ฌ๐๐ซ๐ฌ.
1. S Naveen Kumar 600+500rs (your exam)
2. Shalu thakur 500++rs (Steven Skyler)
๐2