Pagini recente » Borderou de evaluare (job #2073742) | Borderou de evaluare (job #1496768) | Borderou de evaluare (job #121539) | Borderou de evaluare (job #820105) | Borderou de evaluare (job #1721856)
Borderou de evaluare (job #1721856)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ssm2(int)’:
user.cpp:34:14: warning: variable ‘pozzF’ set but not used [-Wunused-but-set-variable]
int pozF,pozzF,sumA=0,maxactuaL=INT_MAX,maxnR=INT_MAX,pnR=0,p1,p2;
^
user.cpp:34:59: warning: variable ‘pnR’ set but not used [-Wunused-but-set-variable]
int pozF,pozzF,sumA=0,maxactuaL=INT_MAX,maxnR=INT_MAX,pnR=0,p1,p2;
^
user.cpp: In function ‘void stergere(int, int)’:
user.cpp:62:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr = n-pos2,actual = 1;
^
user.cpp:62:21: warning: unused variable ‘actual’ [-Wunused-variable]
int nr = n-pos2,actual = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:72:10: warning: unused variable ‘pozitiv’ [-Wunused-variable]
bool pozitiv = false;
^
user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("minim.in", "r", stdin);
^
user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("minim.out", "w", stdout);
^
user.cpp:71:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:52:31: warning: ‘pozF’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (maxactuaL==val&&(p1!=pos1||p2!=pos2))
^
user.cpp:34:9: note: ‘pozF’ was declared here
int pozF,pozzF,sumA=0,maxactuaL=INT_MAX,maxnR=INT_MAX,pnR=0,p1,p2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Incorect | 0 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 0ms | 436kb | Incorect | 0 |
4 | 0ms | 432kb | Incorect | 0 |
5 | 0ms | 436kb | Incorect | 0 |
6 | 0ms | 428kb | Incorect | 0 |
7 | 0ms | 436kb | Incorect | 0 |
8 | 0ms | 432kb | Incorect | 0 |
9 | 0ms | 432kb | Incorect | 0 |
10 | 8ms | 432kb | OK | 10 |
Punctaj total | 10 |