Borderou de evaluare (job #3227395)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 30 aprilie 2024 09:42:33
Problema Pikachu Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void read(int&)': main.cpp:42:28: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 42 | while (inBuffer[p] < 0x30 | inBuffer[p] > 0x39) { | ~~~~~~~~~~~~^~~~~~ main.cpp:43:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 43 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp:45:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 45 | while (inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) { | ~~~~~~~~~~~~^~~~~~ main.cpp:47:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 47 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: At global scope: main.cpp:39:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 39 | __attribute__((always_inline)) void read(int& num) { | ^~~~ In file included from /usr/include/c++/12.2.1/iostream:39, from main.cpp:1: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:89:10: /usr/include/c++/12.2.1/ostream:202:25: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:69:12: note: 'sol' was declared here 69 | ll sol; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbIncorect00
30ms303kbIncorect00
45ms303kbIncorect00
554ms557kbIncorect00
6218ms819kbOK10
7303ms819kbTime limit exceeded0
8303ms1343kbTime limit exceeded00
9303ms1343kbTime limit exceeded00
10303ms1605kbTime limit exceeded00
Punctaj total0

Ceva nu functioneaza?