Pagini recente » Borderou de evaluare (job #221757) | Borderou de evaluare (job #681531) | Borderou de evaluare (job #579694) | Borderou de evaluare (job #431286) | Borderou de evaluare (job #1048744)
Borderou de evaluare (job #1048744)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&n,&m);
^
user.cpp:21:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:24:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld %ld",&auxm.x,&auxm.y,&auxm.c);
^
user.cpp:24:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:24:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:35:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<a[pmin].size();i++)
^
user.cpp:48:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n%ld\n",ct,n-1);
^
user.cpp:48:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:49:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<sol.size();i++)
^
user.cpp:50:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld\n",sol[i].x,sol[i].y);
^
user.cpp:50:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2580kb | Corect | 10 |
2 | 4ms | 2576kb | Corect | 10 |
3 | 4ms | 2592kb | Corect | 10 |
4 | 4ms | 2596kb | Corect | 10 |
5 | 4ms | 2608kb | Corect | 10 |
6 | 188ms | 8612kb | Corect | 10 |
7 | 360ms | 11484kb | Corect | 10 |
8 | 68ms | 4852kb | Corect | 10 |
9 | 64ms | 5576kb | Corect | 10 |
10 | 316ms | 10956kb | Corect | 10 |
Punctaj total | 100 |