Pagini recente » Borderou de evaluare (job #472961) | Borderou de evaluare (job #1304264) | Borderou de evaluare (job #888774) | Borderou de evaluare (job #1076591) | Borderou de evaluare (job #2138125)
Borderou de evaluare (job #2138125)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:79:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:86:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 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;
^
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;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 3620kb | OK | 5 | 5 |
| 2 | 0ms | 3624kb | OK | 5 | 5 |
| 3 | 0ms | 3628kb | OK | 5 | 5 |
| 4 | 0ms | 3624kb | OK | 5 | 5 |
| 5 | 0ms | 3660kb | OK | 5 | 5 |
| 6 | 0ms | 3628kb | OK | 5 | 10 |
| 7 | 0ms | 3632kb | OK | 5 |
| 8 | 8ms | 4496kb | OK | 5 | 15 |
| 9 | 16ms | 4664kb | OK | 5 |
| 10 | 0ms | 3652kb | OK | 5 |
| 11 | 16ms | 5024kb | OK | 5 | 20 |
| 12 | 36ms | 5692kb | OK | 5 |
| 13 | 32ms | 5260kb | OK | 5 |
| 14 | 52ms | 6312kb | OK | 5 |
| 15 | 68ms | 6784kb | OK | 5 | 15 |
| 16 | 56ms | 6188kb | OK | 5 |
| 17 | 0ms | 3648kb | OK | 5 |
| 18 | 96ms | 7096kb | OK | 5 | 15 |
| 19 | 108ms | 7780kb | OK | 5 |
| 20 | 0ms | 3684kb | OK | 5 |
| Punctaj total | 100 |