Pagini recente » Borderou de evaluare (job #1148829) | Borderou de evaluare (job #440543) | Borderou de evaluare (job #1961595) | Borderou de evaluare (job #2497642) | Borderou de evaluare (job #1302500)
Borderou de evaluare (job #1302500)
Raport evaluator
Compilare:
user.cpp: In constructor ‘range_minimum_query::range_minimum_query(const std::vector<short int>&)’:
user.cpp:30:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<block.size();i++)
^
user.cpp:31:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
block[i][j]=min(block[i][j-1],block[i+(i+(1<<(j-1))<block.size()?(1<<(j-1)):0)][j-1]);
^
user.cpp:34:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<block.size();i++){
^
user.cpp: In function ‘int cauta_binar(int, int, int)’:
user.cpp:182:9: warning: unused variable ‘st’ [-Wunused-variable]
int st = 1, dr = lgMax;
^
user.cpp:182:17: warning: unused variable ‘dr’ [-Wunused-variable]
int st = 1, dr = lgMax;
^
user.cpp: In function ‘int numara(int, int)’:
user.cpp:207:9: warning: unused variable ‘sol’ [-Wunused-variable]
int sol = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:236:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld2d.in", "r", stdin);
^
user.cpp:237:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld2d.out", "w", stdout);
^
user.cpp:239:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:240:40: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread( str, 1, Nmax * Nmax, stdin );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 740kb | OK | 10 | 10 |
2 | 4ms | 1692kb | OK | 10 | 10 |
3 | 8ms | 1712kb | OK | 10 | 10 |
4 | 340ms | 12584kb | OK | 10 | 20 |
5 | 104ms | 12548kb | OK | 10 |
6 | 220ms | Depăşit | Memory limit exceeded. | 0 | 0 |
7 | 220ms | Depăşit | Memory limit exceeded. | 0 |
8 | 224ms | Depăşit | Memory limit exceeded. | 0 | 0 |
9 | 220ms | Depăşit | Memory limit exceeded. | 0 |
10 | 216ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |