Pagini recente » Borderou de evaluare (job #3216443) | Borderou de evaluare (job #1923238) | Borderou de evaluare (job #2947926) | Borderou de evaluare (job #1324546) | Borderou de evaluare (job #1196082)
Borderou de evaluare (job #1196082)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:33: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long int’ [-Wformat=]
if (n==1) printf("%.0lf\n",v);
^
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii2.in","r",stdin);
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii2.out","w",stdout);
^
user.cpp:8:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&v,&n);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 272kb | Incorect | 0 |
✗ | 2 | 0ms | 276kb | Incorect | 0 |
✗ | 3 | 0ms | 276kb | OK | 10 |
✓ | 4 | 196ms | 280kb | Incorect | 0 |
✗ | 5 | 200ms | 272kb | Incorect | 0 |
✗ | 6 | 200ms | 280kb | Incorect | 0 |
✗ | 7 | 204ms | 276kb | Incorect | 0 |
✗ | 8 | 208ms | 280kb | Incorect | 0 |
✗ | 9 | 200ms | 284kb | Incorect | 0 |
✗ | 10 | 204ms | 276kb | Incorect | 0 |
Punctaj total | 10 |