Pagini recente » Borderou de evaluare (job #2901029) | Borderou de evaluare (job #607053) | Borderou de evaluare (job #389630) | Borderou de evaluare (job #1656589) | Borderou de evaluare (job #2138776)
Borderou de evaluare (job #2138776)
Raport evaluator
Compilare:
user.cpp:2:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]
#pragma optimize("O2")
^
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:40:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:45:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: In function ‘bool BellmanFord(unsigned int)’:
user.cpp:79:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= nodes; ++i)
^
user.cpp:90:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= edges; ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:173:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i != nodes; write(distance[++i] != oo ? distance[i] : 0));
^
user.cpp:117:25: warning: unused variable ‘j’ [-Wunused-variable]
unsigned int i, j, a, b, c;
^
user.cpp:186:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i != nodes; write(distance[++i] != oo ? distance[i] : 0));
^
user.cpp: At global scope:
user.cpp:55:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(unsigned int x)
^
user.cpp:34: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:42: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:49: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:110: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:111: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 | 3620kb | OK | 10 |
2 | 0ms | 3616kb | OK | 10 |
3 | 0ms | 3644kb | OK | 10 |
4 | 0ms | 3656kb | OK | 10 |
5 | 4ms | 3896kb | OK | 10 |
6 | 8ms | 3952kb | OK | 10 |
7 | 12ms | 4056kb | OK | 10 |
8 | 24ms | 6288kb | OK | 10 |
9 | 44ms | 6192kb | OK | 10 |
10 | 52ms | 6408kb | OK | 10 |
Punctaj total | 100 |