Pagini recente » Borderou de evaluare (job #1337329) | Borderou de evaluare (job #2276973) | Borderou de evaluare (job #2876109) | Borderou de evaluare (job #2843918) | Borderou de evaluare (job #1272502)
Borderou de evaluare (job #1272502)
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 | 284kb | OK | 10 |
✓ | 2 | 0ms | 288kb | OK | 10 |
✓ | 3 | 4ms | 284kb | OK | 10 |
✓ | 4 | Depăşit | 788kb | Time limit exceeded. | 0 |
✓ | 5 | Depăşit | 1296kb | Time limit exceeded. | 0 |
✓ | 6 | Depăşit | 1300kb | Time limit exceeded. | 0 |
✓ | 7 | Depăşit | 1292kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 1300kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 1296kb | Time limit exceeded. | 0 |
✓ | 10 | Depăşit | 1300kb | Time limit exceeded. | 0 |
Punctaj total | 30 |