Pagini recente » Borderou de evaluare (job #613212) | Cod sursa (job #3323217) | Borderou de evaluare (job #2141424) | Borderou de evaluare (job #1712742) | Borderou de evaluare (job #1391066)
Borderou de evaluare (job #1391066)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++a[s[cnt]-='0'],++b[s[cnt]];
^
user.cpp:15:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++a[s[cnt]-='0'],++b[s[cnt]];
^
user.cpp:26:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--a[s[cnt]];
^
user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.out","w",stdout);
^
user.cpp:34:5: warning: ‘bst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int i = 1;i < bst;++i)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 448kb | OK | 10 |
| 4 | 20ms | 576kb | OK | 10 |
| 5 | 144ms | 1308kb | OK | 10 |
| 6 | 336ms | 1432kb | Incorect | 0 |
| 7 | 756ms | 1432kb | Incorect | 0 |
| 8 | 812ms | 1432kb | Incorect | 0 |
| 9 | 812ms | 1428kb | Incorect | 0 |
| 10 | 880ms | 1436kb | Incorect | 0 |
| Punctaj total | 50 |