Pagini recente » Borderou de evaluare (job #2624711) | Borderou de evaluare (job #1564462) | Borderou de evaluare (job #1534202) | Borderou de evaluare (job #1393923) | Borderou de evaluare (job #1183688)
Borderou de evaluare (job #1183688)
Raport evaluator
Compilare:
user.cpp:6:210: warning: narrowing conversion of ‘2147483648ll’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
int v[50]={1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432,67108864,134217728,268435456,536870912,1073741824,2147483648};
^
user.cpp: In function ‘int main()’:
user.cpp:21:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nr[n-i-1]=='1')
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | OK | 10 |
| 2 | 0ms | 244kb | OK | 10 |
| 3 | 0ms | 252kb | OK | 10 |
| 4 | 0ms | 248kb | OK | 10 |
| 5 | 0ms | 256kb | OK | 10 |
| 6 | 8ms | 252kb | OK | 10 |
| 7 | 36ms | 256kb | OK | 10 |
| 8 | 56ms | 252kb | OK | 10 |
| 9 | 112ms | 256kb | OK | 10 |
| 10 | 112ms | 256kb | Incorect | 0 |
| Punctaj total | 90 |