Pagini recente » Borderou de evaluare (job #1995874) | Borderou de evaluare (job #112754) | Borderou de evaluare (job #2491817) | Borderou de evaluare (job #646946) | Borderou de evaluare (job #1280392)
Borderou de evaluare (job #1280392)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:58:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n",k-1);
^
user.cpp:30:25: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable]
int semn=1,st[nmax],poz;
^
user.cpp:31:14: warning: unused variable ‘j’ [-Wunused-variable]
long n,i,j,k;
^
user.cpp:34: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:36:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%lf %lf",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 332kb | Numar de puncte incorect | 0 |
2 | 0ms | 328kb | Corect | 10 |
3 | 40ms | 636kb | Corect | 10 |
4 | 40ms | 640kb | Corect | 10 |
5 | 40ms | 636kb | Corect | 10 |
6 | 288ms | 2400kb | Corect | 10 |
7 | 292ms | 2396kb | Corect | 10 |
8 | 292ms | 2396kb | Numar de puncte incorect | 0 |
9 | 288ms | 2400kb | Corect | 10 |
10 | 288ms | 2400kb | Corect | 10 |
Punctaj total | 80 |