Borderou de evaluare (job #2215124)
Raport evaluator
Compilare:
user.cpp: In function ‘void reader(int&)’:
user.cpp:117:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
user.cpp:122:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
user.cpp: At global scope:
user.cpp:132:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void writer (unsigned int x)
^~~~~~
user.cpp:111:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void reader (int &num)
^~~~~~
user.cpp: In function ‘void reader(int&)’:
user.cpp:119: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:126: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:155: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:156: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 | 1280kb | OK | 10 |
2 | 0ms | 1284kb | OK | 10 |
3 | 0ms | 1328kb | OK | 10 |
4 | 0ms | 1356kb | OK | 10 |
5 | 8ms | 1924kb | OK | 10 |
6 | 12ms | 2280kb | OK | 10 |
7 | 20ms | 2672kb | OK | 10 |
8 | 44ms | 4124kb | OK | 10 |
9 | 36ms | 3400kb | OK | 10 |
10 | 92ms | 5408kb | OK | 10 |
Punctaj total | 100 |