Pagini recente » Borderou de evaluare (job #285105) | Borderou de evaluare (job #1659061) | Borderou de evaluare (job #1876963) | Borderou de evaluare (job #2313981) | Borderou de evaluare (job #2138604)
Borderou de evaluare (job #2138604)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:9:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:14: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:133:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i < adj[1].size(); i++)
^
user.cpp:160:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i < adj[current.destinatie].size(); i++)
^
user.cpp:118:16: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, a, b, c;
^
user.cpp: At global scope:
user.cpp:24:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(unsigned int x)
^
user.cpp:3: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:11: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:18: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 | 3704kb | OK | 10 |
2 | 0ms | 3704kb | OK | 10 |
3 | 0ms | 3732kb | OK | 10 |
4 | 0ms | 3736kb | OK | 10 |
5 | 4ms | 3940kb | OK | 10 |
6 | 8ms | 3976kb | OK | 10 |
7 | 12ms | 4028kb | OK | 10 |
8 | 20ms | 6188kb | OK | 10 |
9 | 44ms | 6324kb | OK | 10 |
10 | 52ms | 6296kb | OK | 10 |
Punctaj total | 100 |