Pagini recente » Borderou de evaluare (job #2720371) | Borderou de evaluare (job #290707) | Borderou de evaluare (job #2201263) | Borderou de evaluare (job #237139) | Borderou de evaluare (job #1232178)
Borderou de evaluare (job #1232178)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[a] = ap[b] = ap[c] = 0;
^
user.cpp:15:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[a] = ap[b] = ap[c] = 0;
^
user.cpp:15:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[a] = ap[b] = ap[c] = 0;
^
user.cpp:20:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++ap[ ch[len] ];
^
user.cpp:23:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ap[a] == x ) {printf("%d \n",x); continue; }
^
user.cpp:24:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ap[b] == x ) {printf("%d \n",x); continue; }
^
user.cpp:25:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ap[c] == x ) {printf("%d \n",x); continue; }
^
user.cpp:26:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ap[a]%2 && ap[b]%2 &&ap[c]%2) {printf("2\n"); continue; }
^
user.cpp:26:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ap[a]%2 && ap[b]%2 &&ap[c]%2) {printf("2\n"); continue; }
^
user.cpp:26:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ap[a]%2 && ap[b]%2 &&ap[c]%2) {printf("2\n"); continue; }
^
user.cpp:27:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( !(ap[a]%2 || ap[b]%2 ||ap[c]%2) ) {printf("2\n"); continue; }
^
user.cpp:27:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( !(ap[a]%2 || ap[b]%2 ||ap[c]%2) ) {printf("2\n"); continue; }
^
user.cpp:27:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( !(ap[a]%2 || ap[b]%2 ||ap[c]%2) ) {printf("2\n"); continue; }
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cristale.in","r",stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cristale.out","w",stdout);
^
user.cpp:13:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %c %c\n%d",&a,&b,&c,&n);
^
user.cpp:16:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | OK | 10 |
2 | 0ms | 236kb | OK | 10 |
3 | 0ms | 232kb | OK | 10 |
4 | 0ms | 248kb | OK | 10 |
5 | 0ms | 248kb | OK | 10 |
6 | 0ms | 248kb | OK | 10 |
7 | 0ms | 248kb | OK | 10 |
8 | 0ms | 232kb | OK | 10 |
9 | 0ms | 248kb | OK | 10 |
10 | 0ms | 248kb | OK | 10 |
Punctaj total | 100 |