Pagini recente » Borderou de evaluare (job #2670182) | Borderou de evaluare (job #3242828) | Borderou de evaluare (job #2145820) | Borderou de evaluare (job #666285) | Borderou de evaluare (job #1530531)
Borderou de evaluare (job #1530531)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
L[x[i]] = i;
^
user.cpp:45:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (L[x[i]] == i && !killed[x[i]]) {
^
user.cpp:45:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (L[x[i]] == i && !killed[x[i]]) {
^
user.cpp:47:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!killed[x[j]])
^
user.cpp:49:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
killed[x[j]] = 1;
^
user.cpp:57:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!killed[x[i]])
^
user.cpp:34:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.in", "r", stdin);
^
user.cpp:35:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.out", "w", stdout);
^
user.cpp:38:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:39:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(x + 1);
^
/tmp/ccR50p0z.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 |
✓ | 1 | 0ms | 436kb | Incorect | 0 |
✓ | 2 | 0ms | 440kb | Incorect | 0 |
✓ | 3 | 0ms | 432kb | Incorect | 0 |
✓ | 4 | 0ms | 436kb | OK | 5 |
✓ | 5 | 0ms | 436kb | Incorect | 0 |
✓ | 6 | 0ms | 440kb | Incorect | 0 |
✓ | 7 | 0ms | 440kb | Incorect | 0 |
✓ | 8 | 0ms | 432kb | Incorect | 0 |
✓ | 9 | 0ms | 436kb | Incorect | 0 |
✓ | 10 | 0ms | 440kb | Incorect | 0 |
✓ | 11 | 0ms | 528kb | Incorect | 0 |
✓ | 12 | 0ms | 532kb | Incorect | 0 |
✓ | 13 | 0ms | 528kb | Incorect | 0 |
✓ | 14 | 0ms | 536kb | Incorect | 0 |
✓ | 15 | 24ms | 1404kb | Incorect | 0 |
✓ | 16 | 24ms | 1408kb | Incorect | 0 |
✓ | 17 | 24ms | 1408kb | Incorect | 0 |
✓ | 18 | 24ms | 1412kb | Incorect | 0 |
✓ | 19 | 28ms | 1404kb | Incorect | 0 |
✓ | 20 | 24ms | 1408kb | Incorect | 0 |
Punctaj total | 5 |