Pagini recente » Borderou de evaluare (job #950680) | Borderou de evaluare (job #2295297) | Borderou de evaluare (job #574486) | Borderou de evaluare (job #750097) | Borderou de evaluare (job #1195189)
Borderou de evaluare (job #1195189)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(b+1)!=n) printf("NU\n");
^
user.cpp:23:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[a[i]]++;
^
user.cpp:32:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[b[i]]++;
^
user.cpp:9:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joben.in","r",stdin);
^
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joben.out","w",stdout);
^
user.cpp:11:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n1);
^
user.cpp:14:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
user.cpp:15:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1);
^
/tmp/ccec0jhu.o: In function `main':
user.cpp:(.text.startup+0xb5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 4ms | 292kb | OK | 10 |
5 | 4ms | 284kb | OK | 10 |
6 | 60ms | 456kb | OK | 10 |
7 | 60ms | 456kb | OK | 10 |
8 | 68ms | 460kb | OK | 10 |
9 | 64ms | 456kb | OK | 10 |
10 | 68ms | 452kb | OK | 10 |
Punctaj total | 100 |