Pagini recente » Borderou de evaluare (job #1872270) | Borderou de evaluare (job #2024557) | Borderou de evaluare (job #1666765) | Borderou de evaluare (job #2100452) | Borderou de evaluare (job #1596033)
Borderou de evaluare (job #1596033)
Raport evaluator
Compilare:
user.cpp: In function ‘void Parcurgere()’:
user.cpp:25:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
prec[i] = test[vec[i][0]];
^
user.cpp:27:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (maxim[i] > maxim[test[vec[i][strlen(vec[i])-1]]])
^
user.cpp:28:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
test[vec[i][strlen(vec[i])-1]] = i;
^
user.cpp: In function ‘void Solve()’:
user.cpp:53:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
strcpy(vec[l++], p);
^
user.cpp: In function ‘void Read()’:
user.cpp:69:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(aux);
^
user.cpp:70:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:74:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(aux);
^
user.cpp:75:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp: In function ‘int main()’:
user.cpp:83:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in", "r", stdin);
^
user.cpp:84:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out", "w", stdout);
^
user.cpp: In function ‘void Parcurgere()’:
user.cpp:44:24: warning: ‘maxPos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
AfisareSecv(maxPos);
^
/tmp/ccR3MhwA.o: In function `Read()':
user.cpp:(.text+0x256): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Wall time limit exceeded. | 0 |
2 | 0ms | 252kb | Wall time limit exceeded. | 0 |
3 | 0ms | 280kb | Corect | 10 |
4 | 0ms | 272kb | Corect | 10 |
5 | 8ms | 380kb | Killed by signal 6(SIGABRT). | 0 |
6 | 8ms | 372kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 276kb | Corect | 10 |
8 | 8ms | 376kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |