Pagini recente » Borderou de evaluare (job #2166541) | Borderou de evaluare (job #2957424) | Borderou de evaluare (job #1070287) | Borderou de evaluare (job #2307159) | Borderou de evaluare (job #1196166)
Borderou de evaluare (job #1196166)
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: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:12:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
/tmp/ccGj6kzG.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 268kb | OK | 10 | 10 |
✓ | 2 | 12ms | 1056kb | OK | 10 | 10 |
✗ | 3 | 308ms | 19792kb | Incorect | 0 | 0 |
✗ | 4 | 172ms | 17280kb | OK | 10 | 30 |
✗ | 5 | 168ms | 16404kb | OK | 10 |
✓ | 6 | 180ms | 15016kb | OK | 10 |
✗ | 7 | 168ms | 14892kb | OK | 10 | 0 |
✗ | 8 | 172ms | 15688kb | OK | 10 |
✗ | 9 | Depăşit | 9992kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 9984kb | Time limit exceeded. | 0 |
Punctaj total | 50 |