Advertisement
EeZotop

Hell build log

Jun 3rd, 2022
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. /home/eezotop/cpp_projects/cf-contest/src/return.cpp:27:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration]
  2. ll a, b, ab, ba;
  3. ^~~~~~~~~~~~~~~~
  4. /home/eezotop/cpp_projects/cf-contest/src/return.cpp:27:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables]
  5. ll a, b, ab, ba;
  6. ^
  7. = 0
  8. /home/eezotop/cpp_projects/cf-contest/src/return.cpp:27:11: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables]
  9. ll a, b, ab, ba;
  10. ^
  11. = 0
  12. /home/eezotop/cpp_projects/cf-contest/src/return.cpp:27:14: warning: variable 'ab' is not initialized [cppcoreguidelines-init-variables]
  13. ll a, b, ab, ba;
  14. ^
  15. = 0
  16. /home/eezotop/cpp_projects/cf-contest/src/return.cpp:27:18: warning: variable 'ba' is not initialized [cppcoreguidelines-init-variables]
  17. ll a, b, ab, ba;
  18. ^
  19. = 0
  20. /home/eezotop/cpp_projects/cf-contest/src/return.cpp:37:9: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
  21. assert(curr_count == in.size());
  22. ^
  23. /usr/include/assert.h:95:51: note: expanded from macro 'assert'
  24. : __assert_fail (#expr, __FILE__, __LINE__, __ASSERT_FUNCTION))
  25. ^
  26. /usr/include/assert.h:129:30: note: expanded from macro '__ASSERT_FUNCTION'
  27. # define __ASSERT_FUNCTION __extension__ __PRETTY_FUNCTION__
  28. ^
  29. /home/eezotop/cpp_projects/cf-contest/src/return.cpp:49:15: warning: do not use 'else' after 'break' [readability-else-after-return]
  30. } else if (in[idx + 1] != curr_ch) {
  31. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32. [3/5] Linking CXX static library libmy-library.a
  33. [4/5] Building CXX object CMakeFiles/my-exec.dir/src/main.cpp.o
  34. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:14:31: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals]
  35. ios_base::sync_with_stdio(0);
  36. ^
  37. note: this fix will not be applied because it overlaps with another fix
  38. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:14:31: warning: implicit conversion 'int' -> bool [readability-implicit-bool-conversion]
  39. note: this fix will not be applied because it overlaps with another fix
  40. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:15:13: warning: use nullptr [modernize-use-nullptr]
  41. cin.tie(0);
  42. ^
  43. nullptr
  44. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:16:14: warning: use nullptr [modernize-use-nullptr]
  45. cout.tie(0);
  46. ^
  47. nullptr
  48. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:19:19: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables]
  49. long long int k; cin >> k;
  50. ^
  51. = 0
  52. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:27:19: warning: variable 'alpha' is not initialized [cppcoreguidelines-init-variables]
  53. long long int alpha; cin >> alpha;
  54. ^
  55. = 0
  56. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:29:19: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables]
  57. long long int n; cin >> n;
  58. ^
  59. = 0
  60. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:37:23: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables]
  61. long long int c; cin >> c; c--;
  62. ^
  63. = 0
  64. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:38:23: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables]
  65. long long int l; cin >> l;
  66. ^
  67. = 0
  68. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:54:26: warning: 20 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers]
  69. cout << setprecision(20);
  70. ^
  71. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:54:26: warning: 20 is a magic number; consider replacing it with a named constant [readability-magic-numbers]
  72. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:56:19: warning: variable 'm' is not initialized [cppcoreguidelines-init-variables]
  73. long long int m; cin >> m;
  74. ^
  75. = 0
  76. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:59:23: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables]
  77. long long int l; cin >> l;
  78. ^
  79. = 0
  80. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:78:32: warning: implicit conversion 'std::unordered_set<std::__cxx11::basic_string<char>, std::hash<std::string>, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<std::__cxx11::basic_string<char> > >::size_type' (aka 'unsigned long') -> bool [readability-implicit-bool-conversion]
  81. sum_log += log(in_test.count(word) ? div : EDINITSA - div);
  82. ^
  83. != 0u
  84. /home/eezotop/cpp_projects/cf-contest/src/main.cpp:86:9: warning: use range-based for loop instead [modernize-loop-convert]
  85. for (int mem = 0; mem < classify.size(); mem++)
  86. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  87. (long double & mem : classify)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement