Pagini recente » Borderou de evaluare (job #967762) | Borderou de evaluare (job #3296828) | Borderou de evaluare (job #992365) | Rating Bontea Mihai (Reee) | Borderou de evaluare (job #2226411)
Borderou de evaluare (job #2226411)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_int()’:
user.cpp:39:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(; !isDigit[*head]; ++head);
^
user.cpp:41:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(; isDigit[*head]; ++head)
^
user.cpp: In function ‘int main()’:
user.cpp:142:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (register int i = 1; i <= N; ++i)
^~~
user.cpp:144:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
fwrite(buffer, 1, writeHead - buffer, stdout);
^~~~~~
user.cpp: At global scope:
user.cpp:48:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void put_int(int x)
^~~~~~~
user.cpp:35:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_int()
^~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:124:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(InFile, "r", stdin);
^
user.cpp:125:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OuFile, "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 5416kb | OK | 10 |
| 2 | 0ms | 5416kb | OK | 10 |
| 3 | 0ms | 5412kb | OK | 10 |
| 4 | 0ms | 5412kb | OK | 10 |
| 5 | 0ms | 5416kb | OK | 10 |
| 6 | 8ms | 5492kb | OK | 10 |
| 7 | 20ms | 7592kb | OK | 10 |
| 8 | 20ms | 7588kb | OK | 10 |
| 9 | 120ms | 17832kb | OK | 10 |
| 10 | 120ms | 17832kb | OK | 10 |
| Punctaj total | 100 |