Pagini recente » Borderou de evaluare (job #2649382) | Borderou de evaluare (job #2658610) | Borderou de evaluare (job #180663) | Borderou de evaluare (job #2933778) | Borderou de evaluare (job #1229785)
Borderou de evaluare (job #1229785)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&nrt);
^
user.cpp:11:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:11:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:12:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(k==1)printf("%d\n",n);
^
user.cpp:23:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",nr);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magic3.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magic3.out","w",stdout);
^
user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nrt);
^
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 256kb | Incorect | 0 |
✗ | 2 | 0ms | 256kb | Incorect | 0 |
✗ | 3 | 4ms | 252kb | Incorect | 0 |
✗ | 4 | 8ms | 256kb | Incorect | 0 |
✓ | 5 | 8ms | 260kb | Incorect | 0 |
✗ | 6 | 8ms | 260kb | Incorect | 0 |
✗ | 7 | 8ms | 252kb | Incorect | 0 |
✗ | 8 | 8ms | 260kb | Incorect | 0 |
✗ | 9 | 8ms | 256kb | Incorect | 0 |
✗ | 10 | 8ms | 256kb | Incorect | 0 |
Punctaj total | 0 |