Pagini recente » Borderou de evaluare (job #550045) | Borderou de evaluare (job #3282336) | Borderou de evaluare (job #1055124) | Borderou de evaluare (job #1186202) | Borderou de evaluare (job #1311570)
Borderou de evaluare (job #1311570)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:30:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp: In function ‘int getInt()’:
user.cpp:20:55: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if (++ptr>=maxb) fread(buf,maxb,1,stdin),ptr=0;
^
user.cpp:23:55: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if (++ptr>=maxb) fread(buf,maxb,1,stdin),ptr=0;
^
user.cpp: In function ‘int main()’:
user.cpp:44:21: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int x,y,diff,sh,k,t;
^
user.cpp:50:9: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (l != lg[y - x + 1]) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 260ms | 416kb | OK | 10 |
4 | 248ms | 304kb | OK | 10 |
5 | 44ms | 912kb | OK | 10 |
6 | 28ms | 912kb | OK | 10 |
7 | 304ms | 908kb | OK | 10 |
8 | 312ms | 908kb | OK | 10 |
9 | 304ms | 916kb | OK | 10 |
10 | 304ms | 916kb | OK | 10 |
Punctaj total | 100 |