Pagini recente » Borderou de evaluare (job #1982053) | Borderou de evaluare (job #1554741) | Borderou de evaluare (job #821379) | Borderou de evaluare (job #2591193) | Borderou de evaluare (job #2138341)
Borderou de evaluare (job #2138341)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:16:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:21: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:142:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i< v[1].v.size(); i++)
^
user.cpp:160:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i< v[arc.destinatie].v.size(); i++)
^
user.cpp:125:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, a, b, c;
^
user.cpp: At global scope:
user.cpp:42:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(int x)
^
user.cpp:10: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: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:25: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:120: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:121: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 | 4ms | 5852kb | OK | 10 |
2 | 4ms | 5856kb | OK | 10 |
3 | 4ms | 5872kb | OK | 10 |
4 | 4ms | 5876kb | OK | 10 |
5 | 8ms | 6044kb | OK | 10 |
6 | 12ms | 6040kb | OK | 10 |
7 | 16ms | 6048kb | OK | 10 |
8 | 24ms | 8088kb | OK | 10 |
9 | 48ms | 8196kb | OK | 10 |
10 | 56ms | 8156kb | OK | 10 |
Punctaj total | 100 |