Pagini recente » Borderou de evaluare (job #3269057) | Borderou de evaluare (job #1302353) | Borderou de evaluare (job #2105309) | Borderou de evaluare (job #2817661) | Borderou de evaluare (job #1302501)
Borderou de evaluare (job #1302501)
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 | 1592kb | OK | 10 | 10 |
| 3 | 8ms | 1604kb | OK | 10 | 10 |
| 4 | 308ms | 9684kb | OK | 10 | 20 |
| 5 | 92ms | 9660kb | OK | 10 |
| 6 | 360ms | 28292kb | OK | 10 | 0 |
| 7 | Depăşit | 28284kb | Time limit exceeded. | 0 |
| 8 | 384ms | 28284kb | OK | 10 | 0 |
| 9 | Depăşit | 28280kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 28284kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |