Pagini recente » Borderou de evaluare (job #1985781) | Borderou de evaluare (job #2643824) | Borderou de evaluare (job #2207283) | Borderou de evaluare (job #1901397) | Borderou de evaluare (job #1272481)
Borderou de evaluare (job #1272481)
Raport evaluator
Compilare:
user.cpp: In function ‘bool verif(std::string, std::string, int)’:
user.cpp:10:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (c[ B[i] ] == 0) {
^
user.cpp:11:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[ B[i] ] = A[i];
^
user.cpp:12:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
} else if (c[ B[i] ] != A[i]) {
^
user.cpp: In function ‘int main()’:
user.cpp:37:14: warning: unused variable ‘k’ [-Wunused-variable]
int now, k = 0;
^
user.cpp:21:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criptare2.in", "r", stdin);
^
user.cpp:22:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criptare2.out", "w", stdout);
^
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ", str);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ", str);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 2 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 3 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 4 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 5 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 6 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 7 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 8 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 10 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |