Pagini recente » Borderou de evaluare (job #1181225) | Borderou de evaluare (job #2721993) | Borderou de evaluare (job #1556236) | Borderou de evaluare (job #2001057) | Borderou de evaluare (job #1195766)
Borderou de evaluare (job #1195766)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[a[i]]++;
^
user.cpp:16:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v1[a[0]]++;
^
user.cpp:18:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[a[0]]==n)z++;
^
user.cpp:23:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v1[a[i]]++;
^
user.cpp:8: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:9: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:10:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:13: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 | 260kb | OK | 10 | 10 |
| ✓ | 2 | 68ms | 1236kb | OK | 10 | 10 |
| ✗ | 3 | Depăşit | 5624kb | Time limit exceeded. | 0 | 0 |
| ✗ | 4 | Depăşit | 5520kb | Time limit exceeded. | 0 | 0 |
| ✗ | 5 | Depăşit | 6412kb | Time limit exceeded. | 0 |
| ✓ | 6 | Depăşit | 5556kb | Time limit exceeded. | 0 |
| ✗ | 7 | Depăşit | 5784kb | Time limit exceeded. | 0 | 0 |
| ✗ | 8 | Depăşit | 5572kb | Time limit exceeded. | 0 |
| ✗ | 9 | Depăşit | 5540kb | Time limit exceeded. | 0 |
| ✗ | 10 | Depăşit | 5792kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |