Pagini recente » Borderou de evaluare (job #3254822) | Borderou de evaluare (job #2712987) | Borderou de evaluare (job #1620422) | Borderou de evaluare (job #2210426) | Borderou de evaluare (job #1332637)
Borderou de evaluare (job #1332637)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:25: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(count&1==1) nr*=2;
^
user.cpp:44:29: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(count&1==1) nr*=j;
^
user.cpp:15:9: warning: unused variable ‘a’ [-Wunused-variable]
int a,rez=0,count;
^
user.cpp:16:10: warning: variable ‘as’ set but not used [-Wunused-but-set-variable]
bool as;
^
user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("tg.in","r",stdin);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("tg.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 292kb | Incorect | 0 |
| 2 | 0ms | 296kb | Incorect | 0 |
| 3 | 0ms | 292kb | Incorect | 0 |
| 4 | 0ms | 288kb | Incorect | 0 |
| 5 | 0ms | 292kb | Incorect | 0 |
| 6 | 0ms | 296kb | Incorect | 0 |
| 7 | 0ms | 288kb | Incorect | 0 |
| 8 | 0ms | 292kb | Incorect | 0 |
| 9 | 0ms | 296kb | Incorect | 0 |
| 10 | 36ms | 332kb | Incorect | 0 |
| 11 | 52ms | 332kb | Incorect | 0 |
| 12 | 52ms | 336kb | Incorect | 0 |
| 13 | 52ms | 336kb | Incorect | 0 |
| 14 | Depăşit | 1244kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1824kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 2220kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 3196kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 4164kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2412kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1436kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |