Pagini recente » Borderou de evaluare (job #3041028) | Borderou de evaluare (job #3282477) | Borderou de evaluare (job #3272895) | Borderou de evaluare (job #197475) | Borderou de evaluare (job #1944615)
Borderou de evaluare (job #1944615)
Raport evaluator
Compilare:
user.cpp: In function ‘void main2()’:
user.cpp:15:9: warning: unused variable ‘last’ [-Wunused-variable]
int last=0;
^
user.cpp:19:9: warning: unused variable ‘cont’ [-Wunused-variable]
int cont=0;
^
user.cpp:20:9: warning: unused variable ‘prv’ [-Wunused-variable]
int prv=0;
^
user.cpp:11:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&v[1],&v[2],&v[3]);
^
user.cpp: In function ‘int main()’:
user.cpp:112:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rgb.in","r",stdin);
^
user.cpp:113:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rgb.out","w",stdout);
^
user.cpp:116:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
Punctaj total | 0 |