Pagini recente » Borderou de evaluare (job #2599596) | Borderou de evaluare (job #2171402) | Borderou de evaluare (job #2326630) | Borderou de evaluare (job #2186307) | Borderou de evaluare (job #1353744)
Borderou de evaluare (job #1353744)
Raport evaluator
Compilare:
user.cpp: In function ‘int radacina(int)’:
user.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:29: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:30: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:34:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:37: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:48: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:20: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:20:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:18:17: note: ‘r’ was declared here
int aux=nod, r;
^
user.cpp:20:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (tata[r]!=r) r=tata[r];
^
user.cpp:18:17: note: ‘r’ was declared here
int aux=nod, r;
^
user.cpp:20:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (tata[r]!=r) r=tata[r];
^
user.cpp:18:17: note: ‘r’ was declared here
int aux=nod, r;
^
user.cpp:20:17: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (tata[r]!=r) r=tata[r];
^
user.cpp:18:17: note: ‘r’ was declared here
int aux=nod, r;
^
user.cpp:20: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 | 580ms | 2592kb | Incorect | 0 |
Punctaj total | 0 |