Pagini recente » Borderou de evaluare (job #1241803) | Borderou de evaluare (job #2677764) | Borderou de evaluare (job #169582) | Borderou de evaluare (job #1367288) | Borderou de evaluare (job #1280374)
Borderou de evaluare (job #1280374)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,n,k,semn=1,poz;
^
user.cpp:24:17: warning: unused variable ‘semn’ [-Wunused-variable]
int i,j,n,k,semn=1,poz;
^
user.cpp:27:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:29:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%f %f",&v[i].x,&v[i].y);
^
user.cpp:41:22: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
swap(v[poz], v[1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | Corect | 10 |
2 | 0ms | 320kb | Corect | 10 |
3 | 28ms | 444kb | Poligon gresit! | 0 |
4 | 28ms | 440kb | Poligon gresit! | 0 |
5 | 28ms | 444kb | Poligon gresit! | 0 |
6 | 196ms | 1152kb | Poligon gresit! | 0 |
7 | 196ms | 1148kb | Numar de puncte incorect | 0 |
8 | 196ms | 1148kb | Numar de puncte incorect | 0 |
9 | 196ms | 1148kb | Numar de puncte incorect | 0 |
10 | 196ms | 1144kb | Poligon gresit! | 0 |
Punctaj total | 20 |