Pagini recente » Borderou de evaluare (job #2074098) | Borderou de evaluare (job #384772) | Borderou de evaluare (job #419835) | Borderou de evaluare (job #303384) | Borderou de evaluare (job #2138158)
Borderou de evaluare (job #2138158)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:79:35: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while((current = inBuffer[p]) < 0x30 | current > 0x39)
^
user.cpp:79:54: warning: operation on ‘current’ may be undefined [-Wsequence-point]
while((current = inBuffer[p]) < 0x30 | current > 0x39)
^
user.cpp:86:35: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while((current = inBuffer[p]) > 0x2F & current < 0x3A)
^
user.cpp:86:54: warning: operation on ‘current’ may be undefined [-Wsequence-point]
while((current = inBuffer[p]) > 0x2F & current < 0x3A)
^
user.cpp: At global scope:
user.cpp:98:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(int x)
^
user.cpp:71:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(int &num)
^
user.cpp: In function ‘void read(int&)’:
user.cpp:83:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
^
user.cpp:90:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
^
user.cpp: In function ‘int main()’:
user.cpp:126:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in", "r", stdin);
^
user.cpp:127:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out", "w", stdout);
^
user.cpp: In function ‘void read(int&)’:
user.cpp:93:33: warning: ‘sign’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sign != 0x2D || (num = -num);
^
user.cpp: In function ‘int main()’:
user.cpp:93:33: warning: ‘sign’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:73:10: note: ‘sign’ was declared here
char sign, current;
^
user.cpp:93:33: warning: ‘sign’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sign != 0x2D || (num = -num);
^
user.cpp:73:10: note: ‘sign’ was declared here
char sign, current;
^
user.cpp:93:33: warning: ‘sign’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 3628kb | OK | 5 | 5 |
| 2 | 0ms | 3628kb | OK | 5 | 5 |
| 3 | 0ms | 3624kb | OK | 5 | 5 |
| 4 | 0ms | 3620kb | OK | 5 | 5 |
| 5 | 0ms | 3664kb | OK | 5 | 5 |
| 6 | 0ms | 3624kb | OK | 5 | 10 |
| 7 | 0ms | 3640kb | OK | 5 |
| 8 | 12ms | 4496kb | OK | 5 | 15 |
| 9 | 16ms | 4668kb | OK | 5 |
| 10 | 0ms | 3660kb | OK | 5 |
| 11 | 16ms | 5024kb | OK | 5 | 20 |
| 12 | 40ms | 5696kb | OK | 5 |
| 13 | 36ms | 5260kb | OK | 5 |
| 14 | 56ms | 6312kb | OK | 5 |
| 15 | 76ms | 6780kb | OK | 5 | 15 |
| 16 | 60ms | 6192kb | OK | 5 |
| 17 | 0ms | 3652kb | OK | 5 |
| 18 | 100ms | 7096kb | OK | 5 | 15 |
| 19 | 116ms | 7776kb | OK | 5 |
| 20 | 0ms | 3684kb | OK | 5 |
| Punctaj total | 100 |