Pagini recente » Borderou de evaluare (job #2398853) | Borderou de evaluare (job #978660) | Borderou de evaluare (job #598981) | Borderou de evaluare (job #1258415) | Borderou de evaluare (job #2188858)
Borderou de evaluare (job #2188858)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(i==p2)
^~
user.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(i==n)
^~
user.cpp:9:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j,pp,sum,p,p2=2,afi,nr,nr1=1,nr2;
^
user.cpp:9:15: warning: unused variable ‘pp’ [-Wunused-variable]
int n,i,j,pp,sum,p,p2=2,afi,nr,nr1=1,nr2;
^~
user.cpp:9:18: warning: unused variable ‘sum’ [-Wunused-variable]
int n,i,j,pp,sum,p,p2=2,afi,nr,nr1=1,nr2;
^~~
user.cpp:9:22: warning: unused variable ‘p’ [-Wunused-variable]
int n,i,j,pp,sum,p,p2=2,afi,nr,nr1=1,nr2;
^
user.cpp:9:33: warning: unused variable ‘nr’ [-Wunused-variable]
int n,i,j,pp,sum,p,p2=2,afi,nr,nr1=1,nr2;
^~
user.cpp:9:42: warning: unused variable ‘nr2’ [-Wunused-variable]
int n,i,j,pp,sum,p,p2=2,afi,nr,nr1=1,nr2;
^~~
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fetite.in ","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fetite.out","w",stdout);
^
user.cpp:27:14: warning: ‘afi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<afi;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1308kb | Incorect | 0 |
2 | 0ms | 1312kb | Incorect | 0 |
3 | 0ms | 1312kb | Incorect | 0 |
4 | 0ms | 1308kb | Incorect | 0 |
5 | 0ms | 1308kb | Incorect | 0 |
6 | 0ms | 1312kb | Incorect | 0 |
7 | 0ms | 1308kb | Incorect | 0 |
8 | 0ms | 1308kb | Incorect | 0 |
9 | 0ms | 1312kb | Incorect | 0 |
10 | 0ms | 1312kb | Incorect | 0 |
Punctaj total | 0 |