Pagini recente » Borderou de evaluare (job #2420859) | Monitorul de evaluare | Borderou de evaluare (job #675176) | Borderou de evaluare (job #3109659) | Borderou de evaluare (job #2420858)
Borderou de evaluare (job #2420858)
Raport evaluator
Compilare:
main.cpp: In function 'void read(int&)':
main.cpp:9:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
main.cpp:14:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
main.cpp: In function 'int main()':
main.cpp:136:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i< v[1].v.size(); i++)
~^~~~~~~~~~~~~~~
main.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i< v[arc.destinatie].v.size(); i++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:120:16: warning: unused variable 'j' [-Wunused-variable]
int i, j, a, b, c;
^
main.cpp: At global scope:
main.cpp:24:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(unsigned int x)
^~~~~
main.cpp:3:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(int &num)
^~~~
main.cpp: In function 'void read(int&)':
main.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);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.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);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:113: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);
^
main.cpp:114: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 | 5ms | 1310kb | OK | 10 |
| 2 | 4ms | 1310kb | OK | 10 |
| 3 | 6ms | 1441kb | OK | 10 |
| 4 | 5ms | 1441kb | OK | 10 |
| 5 | 10ms | 1966kb | OK | 10 |
| 6 | 16ms | 2228kb | OK | 10 |
| 7 | 17ms | 2490kb | OK | 10 |
| 8 | 32ms | 3932kb | OK | 10 |
| 9 | 64ms | 4456kb | OK | 10 |
| 10 | 71ms | 5242kb | OK | 10 |
| Punctaj total | 100 |