Pagini recente » Borderou de evaluare (job #1264031) | Borderou de evaluare (job #496052) | Borderou de evaluare (job #207104) | Borderou de evaluare (job #700230) | Borderou de evaluare (job #2138168)
Borderou de evaluare (job #2138168)
Raport evaluator
Compilare:
user.cpp:2:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]
#pragma optimize("Ofast")
^
user.cpp: In function ‘void read(int&)’:
user.cpp:80:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:87:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: At global scope:
user.cpp:99:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(int x)
^
user.cpp:72: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:84: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:91: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:127: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:128: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:94:33: warning: ‘sign’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sign != 0x2D || (num = -num);
^
user.cpp: In function ‘int main()’:
user.cpp:94:33: warning: ‘sign’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:74:10: note: ‘sign’ was declared here
char sign;
^
user.cpp:94:33: warning: ‘sign’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sign != 0x2D || (num = -num);
^
user.cpp:74:10: note: ‘sign’ was declared here
char sign;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 3624kb | OK | 5 | 5 |
| 2 | 0ms | 3624kb | OK | 5 | 5 |
| 3 | 0ms | 3620kb | OK | 5 | 5 |
| 4 | 0ms | 3620kb | OK | 5 | 5 |
| 5 | 0ms | 3660kb | OK | 5 | 5 |
| 6 | 0ms | 3620kb | OK | 5 | 10 |
| 7 | 0ms | 3636kb | OK | 5 |
| 8 | 8ms | 4496kb | OK | 5 | 15 |
| 9 | 16ms | 4668kb | OK | 5 |
| 10 | 0ms | 3652kb | OK | 5 |
| 11 | 16ms | 5020kb | OK | 5 | 20 |
| 12 | 36ms | 5688kb | OK | 5 |
| 13 | 32ms | 5260kb | OK | 5 |
| 14 | 52ms | 6308kb | OK | 5 |
| 15 | 68ms | 6784kb | OK | 5 | 15 |
| 16 | 56ms | 6192kb | OK | 5 |
| 17 | 0ms | 3656kb | OK | 5 |
| 18 | 96ms | 7100kb | OK | 5 | 15 |
| 19 | 108ms | 7784kb | OK | 5 |
| 20 | 0ms | 3684kb | OK | 5 |
| Punctaj total | 100 |