Borderou de evaluare (job #2190071)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d\n",&baza,&k);
^
user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:20:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",n);
^
user.cpp:13:25: warning: unused variable ‘i’ [-Wunused-variable]
long long int n=0,k,i,baza;
^
user.cpp:11:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gsr.in","r",stdin);
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gsr.out","w",stdout);
^
user.cpp:15:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d\n",&baza,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 872kb | Incorect | 0 | 0 |
2 | 0ms | 880kb | Incorect | 0 |
3 | 0ms | 800kb | Incorect | 0 |
4 | 0ms | 800kb | Incorect | 0 |
5 | 60ms | 872kb | Incorect | 0 |
6 | 100ms | 804kb | Incorect | 0 |
7 | 136ms | 864kb | Incorect | 0 |
8 | 136ms | 812kb | Incorect | 0 |
9 | 132ms | 756kb | Incorect | 0 |
10 | 140ms | 936kb | Incorect | 0 |
Punctaj total | 0 |