Pagini recente » Borderou de evaluare (job #472960) | Borderou de evaluare (job #2183528) | Borderou de evaluare (job #2827893) | Borderou de evaluare (job #1132279) | Borderou de evaluare (job #2138188)
Borderou de evaluare (job #2138188)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:70:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:75:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: At global scope:
user.cpp:85:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(unsigned int x)
^
user.cpp:64: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:72: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:79: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:111: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:112: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 | 3628kb | OK | 10 |
| 2 | 0ms | 3620kb | Incorect | 0 |
| 3 | 0ms | 3680kb | Incorect | 0 |
| 4 | 0ms | 3700kb | Incorect | 0 |
| 5 | 8ms | 4260kb | Incorect | 0 |
| 6 | 16ms | 4644kb | Incorect | 0 |
| 7 | 24ms | 4968kb | Incorect | 0 |
| 8 | 52ms | 6000kb | Incorect | 0 |
| 9 | 40ms | 6000kb | OK | 10 |
| 10 | 116ms | 7944kb | Incorect | 0 |
| Punctaj total | 20 |