Pagini recente » Borderou de evaluare (job #1665383) | Borderou de evaluare (job #1994380) | Borderou de evaluare (job #2646379) | Borderou de evaluare (job #934524) | Borderou de evaluare (job #1319431)
Borderou de evaluare (job #1319431)
Raport evaluator
Compilare:
user.cpp: In function ‘void normalize(char*)’:
user.cpp:23:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!uz[chr])
^
user.cpp:25:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
uz[chr]=a++;
^
user.cpp:27:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[i]=uz[chr];
^
user.cpp: In function ‘int main()’:
user.cpp:35:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j,m;
^
user.cpp:36:38: 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:37:40: 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:38:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:42:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",e);
^
user.cpp:46:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:49:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",e);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 20ms | 1112kb | OK | 10 |
5 | 48ms | 1576kb | OK | 10 |
6 | 48ms | 1576kb | OK | 10 |
7 | 48ms | 1576kb | OK | 10 |
8 | 48ms | 1576kb | OK | 10 |
9 | 52ms | 1576kb | OK | 10 |
10 | 48ms | 1576kb | OK | 10 |
Punctaj total | 100 |