Pagini recente » Borderou de evaluare (job #220770) | Autentificare | Borderou de evaluare (job #1264653) | Borderou de evaluare (job #1243417) | Borderou de evaluare (job #2221238)
Borderou de evaluare (job #2221238)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(long long int&)’:
user.cpp:11:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
user.cpp:16:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
user.cpp: At global scope:
user.cpp:5:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(long long &num)
^~~~
user.cpp: In function ‘void read(long long int&)’:
user.cpp:13:21: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != SIZE || (fread(inBuffer, 0x1, SIZE, stdin), p = 0x0);
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:20:21: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != SIZE || (fread(inBuffer, 0x1, SIZE, stdin), p = 0x0);
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasic.in", "r", stdin);
^
user.cpp:27:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasic.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 468ms | 756kb | OK | 100 |
Punctaj total | 100 |