Pagini recente » Borderou de evaluare (job #2078154) | Borderou de evaluare (job #1726006) | Borderou de evaluare (job #433054) | Borderou de evaluare (job #2861520) | Borderou de evaluare (job #1418881)
Borderou de evaluare (job #1418881)
Raport evaluator
Compilare:
user.cpp: In function ‘void readdata()’:
user.cpp:29:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(f,"%d%d%d",&q[i].t,&q[i].x,&q[i].y);
^
user.cpp: In function ‘int get_val(int, int)’:
user.cpp:47:15: warning: unused variable ‘poz’ [-Wunused-variable]
int q=p,t,poz,st=0,dr=0;
^
user.cpp: In function ‘void readdata()’:
user.cpp:22:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:25:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i]);
^
user.cpp:29:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&q[i].t,&q[i].x,&q[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 620kb | Raspuns incorect | 0 |
2 | 24ms | 624kb | Raspuns incorect | 0 |
3 | 28ms | 624kb | Raspuns incorect | 0 |
4 | 24ms | 624kb | Raspuns incorect | 0 |
5 | 28ms | 624kb | Raspuns incorect | 0 |
Punctaj total | 0 |