Pagini recente » Borderou de evaluare (job #3229954) | Borderou de evaluare (job #2693591) | Borderou de evaluare (job #2604267) | Borderou de evaluare (job #2253801) | Borderou de evaluare (job #1186115)
Borderou de evaluare (job #1186115)
Raport evaluator
Compilare:
user.cpp: In function ‘void Mult(char*, long unsigned int)’:
user.cpp:20:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
H[++H[0]]=T%10;
^
user.cpp: In function ‘long unsigned int Divide(char*, long unsigned int)’:
user.cpp:36:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (!A[A[0]] && A[0]>1) A[0]--;
^
user.cpp: In function ‘void AtribValue(char*, long unsigned int)’:
user.cpp:45:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
H[H[0]] = X % BASE;
^
user.cpp: In function ‘int main()’:
user.cpp:62:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:55:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("quadratum.in","r",stdin);
^
user.cpp:56:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("quadratum.out","w",stdout);
^
user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nrt);
^
user.cpp:62:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | Incorect | 0 |
Punctaj total | 0 |