Pagini recente » Borderou de evaluare (job #1100758) | Borderou de evaluare (job #3264933) | Borderou de evaluare (job #2163701) | Borderou de evaluare (job #2694015) | Borderou de evaluare (job #1353688)
Borderou de evaluare (job #1353688)
Raport evaluator
Compilare:
user.cpp: In function ‘int radacina(int)’:
user.cpp:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:27:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("meciul.in","r",stdin);
^
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("meciul.out","w",stdout);
^
user.cpp:30:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:44:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp: In function ‘int radacina(int)’:
user.cpp:18:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (tata[r]!=r) r=tata[r];
^
user.cpp: In function ‘int main()’:
user.cpp:18:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:16:17: note: ‘r’ was declared here
int aux=nod, r;
^
user.cpp:18:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (tata[r]!=r) r=tata[r];
^
user.cpp:16:17: note: ‘r’ was declared here
int aux=nod, r;
^
user.cpp:18:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (tata[r]!=r) r=tata[r];
^
user.cpp:16:17: note: ‘r’ was declared here
int aux=nod, r;
^
user.cpp:18:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (tata[r]!=r) r=tata[r];
^
user.cpp:16:17: note: ‘r’ was declared here
int aux=nod, r;
^
user.cpp:18:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (tata[r]!=r) r=tata[r];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 604ms | 2580kb | Incorect | 0 |
Punctaj total | 0 |