Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. using System;
  2. using System.Linq;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using System.Numerics;
  6. using System.Reflection.Metadata;
  7.  
  8. /* input
  9. 3
  10. 7 11
  11. 2 9 1 3 18 1 4
  12. 4 35
  13. 11 9 10 7
  14. 1 8
  15. 5
  16. */
  17.  
  18. namespace Sport
  19. {
  20. class Point
  21. {
  22. public Point(Int64 value, Int64 ind)
  23. {
  24. val = value;
  25. index = ind;
  26. }
  27. public Int64 val;
  28. public Int64 index;
  29. public static Boolean _gte(Point a, Point b) => (a.val >= b.val);
  30. }
  31. class Program
  32. {
  33. private static String[] input;
  34. private static Int32 t;
  35.  
  36. public static void Main(String[] args)
  37. {
  38. var nq = readIntLine();
  39. var n = nq[0];
  40. var q = nq[1];
  41. for(;q>0;q--)
  42. {
  43. var rc = readIntLine();
  44. var r = rc[0];
  45. var c = rc[1];
  46. }
  47. }
  48.  
  49. #region library
  50.  
  51. private static void writeln<T>(T a) => Console.WriteLine(a);
  52. private static long[] readLongLine() => Console.ReadLine().Split().Select(long.Parse).ToArray();
  53. private static int[] readIntLine() => Console.ReadLine().Split().Select(int.Parse).ToArray();
  54. private static long readLong() => Convert.ToInt64(Console.ReadLine());
  55. private static int readInt() => Convert.ToInt32(Console.ReadLine());
  56.  
  57. #endregion
  58. }
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement