Pagini recente » Autentificare | Profil DongYong | Borderou de evaluare (job #1234972) | Borderou de evaluare (job #690331) | Borderou de evaluare (job #2139135)
Borderou de evaluare (job #2139135)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d",&p);
^
user.cpp:68:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %d",&m,&n);
^
user.cpp:68:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:71:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %d %d %d",&v[i].x1,&v[i].y1,&v[i].x2,&v[i].y2);
^
user.cpp:71:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:71:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:71:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:64:21: warning: unused variable ‘l1’ [-Wunused-variable]
short int m,n,p,l1,c1,l2,c2,i,k,j,ss=0;
^
user.cpp:64:24: warning: unused variable ‘c1’ [-Wunused-variable]
short int m,n,p,l1,c1,l2,c2,i,k,j,ss=0;
^
user.cpp:64:27: warning: unused variable ‘l2’ [-Wunused-variable]
short int m,n,p,l1,c1,l2,c2,i,k,j,ss=0;
^
user.cpp:64:30: warning: unused variable ‘c2’ [-Wunused-variable]
short int m,n,p,l1,c1,l2,c2,i,k,j,ss=0;
^
user.cpp:67:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p);
^
user.cpp:68:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&m,&n);
^
user.cpp:71:68: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d %d",&v[i].x1,&v[i].y1,&v[i].x2,&v[i].y2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 828kb | Killed by signal 6(SIGABRT). | 0 |
| 2 | 0ms | 824kb | Killed by signal 6(SIGABRT). | 0 |
| 3 | 0ms | 864kb | Killed by signal 6(SIGABRT). | 0 |
| 4 | 0ms | 828kb | Killed by signal 6(SIGABRT). | 0 |
| 5 | 0ms | 824kb | Killed by signal 6(SIGABRT). | 0 |
| 6 | 0ms | 824kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 0ms | 824kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 0ms | 828kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 0ms | 828kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 0ms | 824kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 0 |