Browse Source

Add static data for testing

Marcelo Fornet 6 years ago
parent
commit
aebf6f4657
68 changed files with 278 additions and 0 deletions
  1. 21 0
      src/static/sol.cpp
  2. BIN
      src/test/arena/exampleContest/A/attic/sol
  3. 11 0
      src/test/arena/exampleContest/A/sol.cpp
  4. 1 0
      src/test/arena/exampleContest/A/testcases/0.cur
  5. 1 0
      src/test/arena/exampleContest/A/testcases/0.in
  6. 1 0
      src/test/arena/exampleContest/A/testcases/0.out
  7. 1 0
      src/test/arena/exampleContest/A/testcases/1.cur
  8. 1 0
      src/test/arena/exampleContest/A/testcases/1.in
  9. 1 0
      src/test/arena/exampleContest/A/testcases/1.out
  10. 1 0
      src/test/arena/exampleContest/A/testcases/2.cur
  11. 1 0
      src/test/arena/exampleContest/A/testcases/2.in
  12. 1 0
      src/test/arena/exampleContest/A/testcases/2.out
  13. BIN
      src/test/arena/exampleContest/B/attic/sol
  14. 25 0
      src/test/arena/exampleContest/B/sol.cpp
  15. 1 0
      src/test/arena/exampleContest/B/testcases/0.cur
  16. 1 0
      src/test/arena/exampleContest/B/testcases/0.in
  17. 1 0
      src/test/arena/exampleContest/B/testcases/0.out
  18. 1 0
      src/test/arena/exampleContest/B/testcases/1.cur
  19. 1 0
      src/test/arena/exampleContest/B/testcases/1.in
  20. 1 0
      src/test/arena/exampleContest/B/testcases/1.out
  21. 1 0
      src/test/arena/exampleContest/B/testcases/2.cur
  22. 1 0
      src/test/arena/exampleContest/B/testcases/2.in
  23. 1 0
      src/test/arena/exampleContest/B/testcases/2.out
  24. BIN
      src/test/arena/exampleContest/C/attic/sol
  25. 24 0
      src/test/arena/exampleContest/C/sol.cpp
  26. 0 0
      src/test/arena/exampleContest/C/testcases/0.cur
  27. 1 0
      src/test/arena/exampleContest/C/testcases/0.in
  28. 1 0
      src/test/arena/exampleContest/C/testcases/0.out
  29. 1 0
      src/test/arena/exampleContest/C/testcases/1.in
  30. 1 0
      src/test/arena/exampleContest/C/testcases/1.out
  31. 1 0
      src/test/arena/exampleContest/C/testcases/2.in
  32. 1 0
      src/test/arena/exampleContest/C/testcases/2.out
  33. BIN
      src/test/arena/exampleContest/D/attic/sol
  34. 29 0
      src/test/arena/exampleContest/D/sol.cpp
  35. 0 0
      src/test/arena/exampleContest/D/testcases/0.cur
  36. 1 0
      src/test/arena/exampleContest/D/testcases/0.in
  37. 1 0
      src/test/arena/exampleContest/D/testcases/0.out
  38. 1 0
      src/test/arena/exampleContest/D/testcases/1.in
  39. 1 0
      src/test/arena/exampleContest/D/testcases/1.out
  40. 1 0
      src/test/arena/exampleContest/D/testcases/2.in
  41. 1 0
      src/test/arena/exampleContest/D/testcases/2.out
  42. 22 0
      src/test/arena/exampleContest/E/sol.cpp
  43. 1 0
      src/test/arena/exampleContest/E/testcases/0.in
  44. 1 0
      src/test/arena/exampleContest/E/testcases/0.out
  45. 1 0
      src/test/arena/exampleContest/E/testcases/1.in
  46. 1 0
      src/test/arena/exampleContest/E/testcases/1.out
  47. 1 0
      src/test/arena/exampleContest/E/testcases/2.in
  48. 1 0
      src/test/arena/exampleContest/E/testcases/2.out
  49. 21 0
      src/test/arena/testNew/sol.cpp
  50. BIN
      src/test/arena/testStressOK/attic/brout
  51. 2 0
      src/test/arena/testStressOK/attic/gen.py
  52. BIN
      src/test/arena/testStressOK/attic/sol
  53. 9 0
      src/test/arena/testStressOK/brute.cpp
  54. 9 0
      src/test/arena/testStressOK/sol.cpp
  55. 1 0
      src/test/arena/testStressOK/testcases/gen.cur
  56. 1 0
      src/test/arena/testStressOK/testcases/gen.in
  57. 1 0
      src/test/arena/testStressOK/testcases/gen.out
  58. BIN
      src/test/arena/testStressWA/attic/brout
  59. 2 0
      src/test/arena/testStressWA/attic/gen.py
  60. BIN
      src/test/arena/testStressWA/attic/sol
  61. 9 0
      src/test/arena/testStressWA/brute.cpp
  62. 9 0
      src/test/arena/testStressWA/sol.cpp
  63. 1 0
      src/test/arena/testStressWA/testcases/gen.cur
  64. 1 0
      src/test/arena/testStressWA/testcases/gen.in
  65. 1 0
      src/test/arena/testStressWA/testcases/gen.out
  66. 1 0
      src/test/arena/testUpgrade/attic/gen.py
  67. 21 0
      src/test/arena/testUpgrade/brute.cpp
  68. 21 0
      src/test/arena/testUpgrade/sol.cpp

+ 21 - 0
src/static/sol.cpp

@@ -0,0 +1,21 @@
+#include <bits/stdc++.h>
+
+using namespace std;
+
+#define endl '\n'
+
+typedef long long int64;
+typedef pair<int,int> pii;
+typedef vector<int> vi;
+
+const double eps = 1e-9;
+const int oo = 0x3f3f3f3f;
+const int mod = 1000000007;
+
+int main(){
+    ios_base::sync_with_stdio(0);
+    cin.tie(0);
+
+
+    return 0;
+}

BIN
src/test/arena/exampleContest/A/attic/sol


+ 11 - 0
src/test/arena/exampleContest/A/sol.cpp

@@ -0,0 +1,11 @@
+#include <iostream>
+
+using namespace std;
+
+int main(){
+    int n; cin >> n;
+
+    cout << n + 2 << endl;
+
+    return 0;
+}

+ 1 - 0
src/test/arena/exampleContest/A/testcases/0.cur

@@ -0,0 +1 @@
+2

+ 1 - 0
src/test/arena/exampleContest/A/testcases/0.in

@@ -0,0 +1 @@
+0

+ 1 - 0
src/test/arena/exampleContest/A/testcases/0.out

@@ -0,0 +1 @@
+2

+ 1 - 0
src/test/arena/exampleContest/A/testcases/1.cur

@@ -0,0 +1 @@
+7

+ 1 - 0
src/test/arena/exampleContest/A/testcases/1.in

@@ -0,0 +1 @@
+5

+ 1 - 0
src/test/arena/exampleContest/A/testcases/1.out

@@ -0,0 +1 @@
+7

+ 1 - 0
src/test/arena/exampleContest/A/testcases/2.cur

@@ -0,0 +1 @@
+12

+ 1 - 0
src/test/arena/exampleContest/A/testcases/2.in

@@ -0,0 +1 @@
+10

+ 1 - 0
src/test/arena/exampleContest/A/testcases/2.out

@@ -0,0 +1 @@
+12

BIN
src/test/arena/exampleContest/B/attic/sol


+ 25 - 0
src/test/arena/exampleContest/B/sol.cpp

@@ -0,0 +1,25 @@
+#include <bits/stdc++.h>
+
+using namespace std;
+
+#define endl '\n'
+
+typedef long long int64;
+typedef pair<int,int> pii;
+typedef vector<int> vi;
+
+const double eps = 1e-9;
+const int oo = 0x3f3f3f3f;
+const int mod = 1000000007;
+
+int main(){
+    ios_base::sync_with_stdio(0);
+    cin.tie(0);
+
+    int  n; cin >> n;
+
+    cout << n + 3 << endl;
+
+
+    return 0;
+}

+ 1 - 0
src/test/arena/exampleContest/B/testcases/0.cur

@@ -0,0 +1 @@
+4

+ 1 - 0
src/test/arena/exampleContest/B/testcases/0.in

@@ -0,0 +1 @@
+1

+ 1 - 0
src/test/arena/exampleContest/B/testcases/0.out

@@ -0,0 +1 @@
+3

+ 1 - 0
src/test/arena/exampleContest/B/testcases/1.cur

@@ -0,0 +1 @@
+8

+ 1 - 0
src/test/arena/exampleContest/B/testcases/1.in

@@ -0,0 +1 @@
+6

+ 1 - 0
src/test/arena/exampleContest/B/testcases/1.out

@@ -0,0 +1 @@
+8

+ 1 - 0
src/test/arena/exampleContest/B/testcases/2.cur

@@ -0,0 +1 @@
+13

+ 1 - 0
src/test/arena/exampleContest/B/testcases/2.in

@@ -0,0 +1 @@
+11

+ 1 - 0
src/test/arena/exampleContest/B/testcases/2.out

@@ -0,0 +1 @@
+13

BIN
src/test/arena/exampleContest/C/attic/sol


+ 24 - 0
src/test/arena/exampleContest/C/sol.cpp

@@ -0,0 +1,24 @@
+#include <bits/stdc++.h>
+
+using namespace std;
+
+#define endl '\n'
+
+typedef long long int64;
+typedef pair<int,int> pii;
+typedef vector<int> vi;
+
+const double eps = 1e-9;
+const int oo = 0x3f3f3f3f;
+const int mod = 1000000007;
+
+int main(){
+    ios_base::sync_with_stdio(0);
+    cin.tie(0);
+
+    int n; cin >> n;
+
+    cout << 1 / n << endl;
+
+    return 0;
+}

+ 0 - 0
src/test/arena/exampleContest/C/testcases/0.cur


+ 1 - 0
src/test/arena/exampleContest/C/testcases/0.in

@@ -0,0 +1 @@
+0

+ 1 - 0
src/test/arena/exampleContest/C/testcases/0.out

@@ -0,0 +1 @@
+4

+ 1 - 0
src/test/arena/exampleContest/C/testcases/1.in

@@ -0,0 +1 @@
+7

+ 1 - 0
src/test/arena/exampleContest/C/testcases/1.out

@@ -0,0 +1 @@
+9

+ 1 - 0
src/test/arena/exampleContest/C/testcases/2.in

@@ -0,0 +1 @@
+12

+ 1 - 0
src/test/arena/exampleContest/C/testcases/2.out

@@ -0,0 +1 @@
+14

BIN
src/test/arena/exampleContest/D/attic/sol


+ 29 - 0
src/test/arena/exampleContest/D/sol.cpp

@@ -0,0 +1,29 @@
+#include <bits/stdc++.h>
+
+using namespace std;
+
+#define endl '\n'
+
+typedef long long int64;
+typedef pair<int,int> pii;
+typedef vector<int> vi;
+
+const double eps = 1e-9;
+const int oo = 0x3f3f3f3f;
+const int mod = 1000000007;
+
+int main(){
+    ios_base::sync_with_stdio(0);
+    cin.tie(0);
+
+    int n; cin >> n;
+    int x = 0;
+
+    for (int i = 0; i < n; i = min(i + 1, 0)){
+        x++;
+    }
+
+    cout << x << endl;
+
+    return 0;
+}

+ 0 - 0
src/test/arena/exampleContest/D/testcases/0.cur


+ 1 - 0
src/test/arena/exampleContest/D/testcases/0.in

@@ -0,0 +1 @@
+3

+ 1 - 0
src/test/arena/exampleContest/D/testcases/0.out

@@ -0,0 +1 @@
+5

+ 1 - 0
src/test/arena/exampleContest/D/testcases/1.in

@@ -0,0 +1 @@
+8

+ 1 - 0
src/test/arena/exampleContest/D/testcases/1.out

@@ -0,0 +1 @@
+10

+ 1 - 0
src/test/arena/exampleContest/D/testcases/2.in

@@ -0,0 +1 @@
+13

+ 1 - 0
src/test/arena/exampleContest/D/testcases/2.out

@@ -0,0 +1 @@
+15

+ 22 - 0
src/test/arena/exampleContest/E/sol.cpp

@@ -0,0 +1,22 @@
+#include <iostream>
+
+using namespace std;
+
+#define endl '\n'
+
+typedef long long int64;
+typedef pair<int,int> pii;
+typedef vector<int> vi;
+
+const double eps = 1e-9;
+const int oo = 0x3f3f3f3f;
+const int mod = 1000000007;
+
+int main(){
+    ios_base::sync_with_stdio(0);
+    cin.tie(0);
+
+    cout << n + 2 << endl;
+
+    return 0;
+}

+ 1 - 0
src/test/arena/exampleContest/E/testcases/0.in

@@ -0,0 +1 @@
+4

+ 1 - 0
src/test/arena/exampleContest/E/testcases/0.out

@@ -0,0 +1 @@
+6

+ 1 - 0
src/test/arena/exampleContest/E/testcases/1.in

@@ -0,0 +1 @@
+9

+ 1 - 0
src/test/arena/exampleContest/E/testcases/1.out

@@ -0,0 +1 @@
+11

+ 1 - 0
src/test/arena/exampleContest/E/testcases/2.in

@@ -0,0 +1 @@
+14

+ 1 - 0
src/test/arena/exampleContest/E/testcases/2.out

@@ -0,0 +1 @@
+16

+ 21 - 0
src/test/arena/testNew/sol.cpp

@@ -0,0 +1,21 @@
+#include <bits/stdc++.h>
+
+using namespace std;
+
+#define endl '\n'
+
+typedef long long int64;
+typedef pair<int,int> pii;
+typedef vector<int> vi;
+
+const double eps = 1e-9;
+const int oo = 0x3f3f3f3f;
+const int mod = 1000000007;
+
+int main(){
+    ios_base::sync_with_stdio(0);
+    cin.tie(0);
+
+
+    return 0;
+}

BIN
src/test/arena/testStressOK/attic/brout


+ 2 - 0
src/test/arena/testStressOK/attic/gen.py

@@ -0,0 +1,2 @@
+import random
+print(random.randint(0, 99))

BIN
src/test/arena/testStressOK/attic/sol


+ 9 - 0
src/test/arena/testStressOK/brute.cpp

@@ -0,0 +1,9 @@
+#include <iostream>
+
+using namespace std;
+
+int main(){
+   int n; cin >> n;
+   cout << n + 2 << endl;
+   return 0;
+}

+ 9 - 0
src/test/arena/testStressOK/sol.cpp

@@ -0,0 +1,9 @@
+#include <iostream>
+
+using namespace std;
+
+int main(){
+   int n; cin >> n;
+   cout << n + 2 << endl;
+   return 0;
+}

+ 1 - 0
src/test/arena/testStressOK/testcases/gen.cur

@@ -0,0 +1 @@
+4

+ 1 - 0
src/test/arena/testStressOK/testcases/gen.in

@@ -0,0 +1 @@
+2

+ 1 - 0
src/test/arena/testStressOK/testcases/gen.out

@@ -0,0 +1 @@
+4

BIN
src/test/arena/testStressWA/attic/brout


+ 2 - 0
src/test/arena/testStressWA/attic/gen.py

@@ -0,0 +1,2 @@
+import random
+print(random.randint(0, 99))

BIN
src/test/arena/testStressWA/attic/sol


+ 9 - 0
src/test/arena/testStressWA/brute.cpp

@@ -0,0 +1,9 @@
+#include <iostream>
+
+using namespace std;
+
+int main(){
+   int n; cin >> n;
+   cout << n + 2 << endl;
+   return 0;
+}

+ 9 - 0
src/test/arena/testStressWA/sol.cpp

@@ -0,0 +1,9 @@
+#include <iostream>
+
+using namespace std;
+
+int main(){
+   int n; cin >> n;
+   cout << n + 3 << endl;
+   return 0;
+}

+ 1 - 0
src/test/arena/testStressWA/testcases/gen.cur

@@ -0,0 +1 @@
+26

+ 1 - 0
src/test/arena/testStressWA/testcases/gen.in

@@ -0,0 +1 @@
+23

+ 1 - 0
src/test/arena/testStressWA/testcases/gen.out

@@ -0,0 +1 @@
+25

+ 1 - 0
src/test/arena/testUpgrade/attic/gen.py

@@ -0,0 +1 @@
+print("Hello world!")

+ 21 - 0
src/test/arena/testUpgrade/brute.cpp

@@ -0,0 +1,21 @@
+#include <bits/stdc++.h>
+
+using namespace std;
+
+#define endl '\n'
+
+typedef long long int64;
+typedef pair<int,int> pii;
+typedef vector<int> vi;
+
+const double eps = 1e-9;
+const int oo = 0x3f3f3f3f;
+const int mod = 1000000007;
+
+int main(){
+    ios_base::sync_with_stdio(0);
+    cin.tie(0);
+
+
+    return 0;
+}

+ 21 - 0
src/test/arena/testUpgrade/sol.cpp

@@ -0,0 +1,21 @@
+#include <bits/stdc++.h>
+
+using namespace std;
+
+#define endl '\n'
+
+typedef long long int64;
+typedef pair<int,int> pii;
+typedef vector<int> vi;
+
+const double eps = 1e-9;
+const int oo = 0x3f3f3f3f;
+const int mod = 1000000007;
+
+int main(){
+    ios_base::sync_with_stdio(0);
+    cin.tie(0);
+
+
+    return 0;
+}