Pagini recente » Borderou de evaluare (job #1852271) | Borderou de evaluare (job #190765) | Borderou de evaluare (job #2021794) | Borderou de evaluare (job #1138561) | Borderou de evaluare (job #2138363)
Borderou de evaluare (job #2138363)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:13:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:18: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:145:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i< v[1].v.size(); i++)
^
user.cpp:163:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i< v[arc.destinatie].v.size(); i++)
^
user.cpp:128:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, a, b, c;
^
user.cpp: At global scope:
user.cpp:39:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(int x)
^
user.cpp:7: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:15: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:22: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:123: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);
^
user.cpp:124: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3640kb | OK | 10 |
2 | 0ms | 3640kb | Incorect | 0 |
3 | 0ms | 3660kb | Incorect | 0 |
4 | 0ms | 3676kb | Incorect | 0 |
5 | 4ms | 3836kb | Incorect | 0 |
6 | 8ms | 3836kb | Incorect | 0 |
7 | 8ms | 5880kb | Incorect | 0 |
8 | 20ms | 5884kb | Incorect | 0 |
9 | 44ms | 5988kb | OK | 10 |
10 | 36ms | 6188kb | Incorect | 0 |
Punctaj total | 20 |