Pagini recente » Borderou de evaluare (job #1807892) | Borderou de evaluare (job #279498) | Borderou de evaluare (job #1048654) | Borderou de evaluare (job #2146039) | Borderou de evaluare (job #2211570)
Borderou de evaluare (job #2211570)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:11:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
user.cpp:16: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:96:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
user.cpp: At global scope:
user.cpp:26:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(unsigned int x)
^~~~~
user.cpp:5: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:13: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:20: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:75:37: 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:76:39: 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 | 1852kb | OK | 10 |
2 | 0ms | 1856kb | OK | 10 |
3 | 0ms | 1908kb | OK | 10 |
4 | 0ms | 1940kb | OK | 10 |
5 | 8ms | 2472kb | OK | 10 |
6 | 16ms | 2860kb | OK | 10 |
7 | 24ms | 3128kb | OK | 10 |
8 | Depăşit | 4116kb | Time limit exceeded. | 0 |
9 | 40ms | 3876kb | OK | 10 |
10 | 132ms | 6196kb | OK | 10 |
Punctaj total | 90 |