Pagini recente » Borderou de evaluare (job #2949039) | Borderou de evaluare (job #1394958) | Borderou de evaluare (job #109666) | Borderou de evaluare (job #526358) | Borderou de evaluare (job #1940361)
Borderou de evaluare (job #1940361)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int getSol()’:
user.cpp:37:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p[initSt[i]] = i;
^
user.cpp:44:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (p[finSt[i]] > first)
^
user.cpp:46:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
initSt[p[finSt[i]]] = '*';
^
user.cpp:47:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans += 1LL * (i - p[finSt[i]] + add[finSt[i]]);
^
user.cpp:47:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans += 1LL * (i - p[finSt[i]] + add[finSt[i]]);
^
user.cpp:49:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (j != finSt[i] && p[j] > p[finSt[i]])
^
user.cpp:52:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
-- p[finSt[i]];
^
user.cpp:56:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (p[initSt[p[st]]] < p[st])
^
user.cpp: In function ‘int main()’:
user.cpp:76:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:81:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:82:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%s", initSt + 1, finSt + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4356kb | Incorect | 0 |
2 | 8ms | 4372kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 60ms | 4548kb | Incorect | 0 |
4 | 24ms | 4604kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 28ms | 4660kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 28ms | 4700kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 80ms | 5872kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 96ms | 6076kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 88ms | 6260kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 4308kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |