Borderou de evaluare (job #795075)

Utilizator avatar deniscorman Corman Denis deniscorman IP ascuns
Problemă em1 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 15 nov. 2024 20:22:23 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:7: error: 'll' does not name a type; did you mean 'all'? 12 | const ll inf = 1e18; | ^~ | all main.cpp:13:7: error: 'll' does not name a type; did you mean 'all'? 13 | const ll mod = 1e9+7;//998244353; | ^~ | all main.cpp: In function 'int main()': main.cpp:58:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 58 | if(b>=0&&j<A[i].size()) | ~^~~~~~~~~~~~ main.cpp:21:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | freopen("em1.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:22:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | freopen("em1.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~