Pagini recente » Borderou de evaluare (job #2001509) | Borderou de evaluare (job #3037911) | Borderou de evaluare (job #3122014) | Borderou de evaluare (job #2877319) | Borderou de evaluare (job #2017217)
Borderou de evaluare (job #2017217)
Raport evaluator
Compilare:
user.cpp: In function ‘void subsirCrescator(int*, int*)’:
user.cpp:63:9: warning: unused variable ‘lungMaxAux’ [-Wunused-variable]
int lungMaxAux = 0, iMax = 0;
^
user.cpp:63:25: warning: unused variable ‘iMax’ [-Wunused-variable]
int lungMaxAux = 0, iMax = 0;
^
user.cpp: In function ‘void subsirDescrescator(int*, int*)’:
user.cpp:73:9: warning: unused variable ‘lungMaxAux’ [-Wunused-variable]
int lungMaxAux = 0, iMax = 0;
^
user.cpp:73:25: warning: unused variable ‘iMax’ [-Wunused-variable]
int lungMaxAux = 0, iMax = 0;
^
user.cpp: In function ‘void read()’:
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:33:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v1[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:115:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bitonic.in", "r", stdin);
^
user.cpp:116:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bitonic.out", "w", stdout);
^
user.cpp:118:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrTeste);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 452kb | OK | 100 |
Punctaj total | 100 |