Pagini recente » Borderou de evaluare (job #3194870) | Borderou de evaluare (job #2355059) | Borderou de evaluare (job #1178287) | Borderou de evaluare (job #389437) | Borderou de evaluare (job #1334708)
Borderou de evaluare (job #1334708)
Raport evaluator
Compilare:
user.cpp: In function ‘int exp(int, int)’:
user.cpp:6:6: warning: unused variable ‘pp’ [-Wunused-variable]
int pp=p,nr=0;
^
user.cpp: In function ‘long long int bs(int, int)’:
user.cpp:18:8: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
dr=1LL<<31-1;
^
user.cpp: In function ‘int main()’:
user.cpp:36:6: warning: unused variable ‘n’ [-Wunused-variable]
int n,p,e,q,mmax=0,nr,d;
^
user.cpp:34:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gfact.in","r",stdin);
^
user.cpp:35:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gfact.out","w",stdout);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&q);
^
user.cpp: In function ‘long long int bs(int, int)’:
user.cpp:30:9: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int main()’:
user.cpp:58:13: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr=bs(p,e);
^
user.cpp:50:14: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr=bs(d,e);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 5 |
2 | Depăşit | 216kb | Time limit exceeded. | 0 |
3 | Depăşit | 220kb | Time limit exceeded. | 0 |
4 | Depăşit | 220kb | Time limit exceeded. | 0 |
5 | Depăşit | 224kb | Time limit exceeded. | 0 |
6 | Depăşit | 220kb | Time limit exceeded. | 0 |
7 | 0ms | 252kb | OK | 5 |
8 | Depăşit | 220kb | Time limit exceeded. | 0 |
9 | Depăşit | 216kb | Time limit exceeded. | 0 |
10 | Depăşit | 216kb | Time limit exceeded. | 0 |
11 | Depăşit | 216kb | Time limit exceeded. | 0 |
12 | Depăşit | 220kb | Time limit exceeded. | 0 |
13 | Depăşit | 216kb | Time limit exceeded. | 0 |
14 | Depăşit | 220kb | Time limit exceeded. | 0 |
15 | 0ms | 252kb | OK | 5 |
16 | Depăşit | 216kb | Time limit exceeded. | 0 |
17 | Depăşit | 220kb | Time limit exceeded. | 0 |
18 | Depăşit | 220kb | Time limit exceeded. | 0 |
19 | Depăşit | 224kb | Time limit exceeded. | 0 |
20 | Depăşit | 220kb | Time limit exceeded. | 0 |
Punctaj total | 15 |