Pagini recente » Borderou de evaluare (job #2812470) | Borderou de evaluare (job #468635) | Borderou de evaluare (job #2087553) | Borderou de evaluare (job #2632318) | Borderou de evaluare (job #2138693)
Borderou de evaluare (job #2138693)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:37:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:42:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: In function ‘int main()’:
user.cpp:114:25: warning: unused variable ‘j’ [-Wunused-variable]
unsigned int i, j, a, b, c;
^
user.cpp: At global scope:
user.cpp:52:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(unsigned int x)
^
user.cpp:31:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(unsigned int &num)
^
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:39: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:46: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:107:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
user.cpp:108:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 3624kb | OK | 10 |
| 2 | 0ms | 3616kb | Incorect | 0 |
| 3 | 0ms | 3640kb | Incorect | 0 |
| 4 | 0ms | 3656kb | Incorect | 0 |
| 5 | 4ms | 3896kb | Incorect | 0 |
| 6 | 8ms | 3936kb | Incorect | 0 |
| 7 | 8ms | 4036kb | Incorect | 0 |
| 8 | 20ms | 6180kb | Incorect | 0 |
| 9 | 44ms | 6192kb | OK | 10 |
| 10 | 36ms | 6352kb | Incorect | 0 |
| Punctaj total | 20 |