Borderou de evaluare (job #2226500)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_int2()’:
user.cpp:43:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(; !isDigit[*head]; ++head);
^
user.cpp:45:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(; isDigit[*head]; ++head)
^
user.cpp: At global scope:
user.cpp:52:45: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) unsigned int get_int()
^~~~~~~
user.cpp:39:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_int2()
^~~~~~~~
user.cpp: In function ‘unsigned int get_int()’:
user.cpp:60:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p == 0x20000 && (fread(inBuffer, 0x1, 0x20000, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:67:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p == 0x20000 && (fread(inBuffer, 0x1, 0x20000, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:108:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r", stdin);
^
user.cpp:109:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 5524kb | OK | 10 |
2 | 0ms | 5524kb | OK | 10 |
3 | 0ms | 5520kb | OK | 10 |
4 | 0ms | 5592kb | OK | 10 |
5 | 4ms | 5648kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 8ms | 5688kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 20ms | 5688kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 36ms | 5680kb | Incorect | 0 |
9 | 92ms | 7748kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 92ms | 7736kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |