Pagini recente » Borderou de evaluare (job #2028371) | Borderou de evaluare (job #189864) | Borderou de evaluare (job #2354964) | Borderou de evaluare (job #315243) | Borderou de evaluare (job #1195838)
Borderou de evaluare (job #1195838)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[a[i]]++;
^
user.cpp:18:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[a[0]]==n)z++;
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada2.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada2.out","w",stdout);
^
user.cpp:11:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&a[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 264kb | OK | 10 | 10 |
✓ | 2 | 56ms | 1048kb | Incorect | 0 | 0 |
✗ | 3 | Depăşit | 4976kb | Time limit exceeded. | 0 | 0 |
✗ | 4 | Depăşit | 5300kb | Time limit exceeded. | 0 | 0 |
✗ | 5 | Depăşit | 5124kb | Time limit exceeded. | 0 |
✓ | 6 | Depăşit | 5004kb | Time limit exceeded. | 0 |
✗ | 7 | Depăşit | 5324kb | Time limit exceeded. | 0 | 0 |
✗ | 8 | Depăşit | 5736kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 5044kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 4916kb | Time limit exceeded. | 0 |
Punctaj total | 10 |