Pagini recente » Borderou de evaluare (job #83247) | Borderou de evaluare (job #59014) | Borderou de evaluare (job #413665) | Borderou de evaluare (job #2722509) | Borderou de evaluare (job #1161808)
Borderou de evaluare (job #1161808)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&T);
^
user.cpp:18:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&n,&k);
^
user.cpp:18:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp:26:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((*h.begin()<x)||(h.size()<k-1))
^
user.cpp:29:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (h.size()>k-1)
^
user.cpp:36:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",rez);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 232kb | Incorect | 0 | 0 |
2 | 16ms | 304kb | OK | 25 |
3 | 276ms | 860kb | Incorect | 0 |
4 | Depăşit | 2968kb | Time limit exceeded. | 0 |
Punctaj total | 0 |