Pagini recente » Borderou de evaluare (job #2349540) | Borderou de evaluare (job #417033) | Borderou de evaluare (job #1888835) | Borderou de evaluare (job #1936213) | Borderou de evaluare (job #2088856)
Borderou de evaluare (job #2088856)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld",&n,&t);
^
user.cpp:23:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:27:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&br[i]);
^
user.cpp:35:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld",&p,&bani);
^
user.cpp:35:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:36:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld/n",cautbin(lg,n,bani,p)-p+1);
^
user.cpp:20:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in","r",stdin);
^
user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out","w",stdout);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&t);
^
user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&br[i]);
^
user.cpp:35:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&p,&bani);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 296kb | Incorect | 0 |
3 | 4ms | 288kb | Incorect | 0 |
4 | 8ms | 304kb | Incorect | 0 |
5 | 8ms | 304kb | Incorect | 0 |
6 | 8ms | 328kb | Incorect | 0 |
7 | 12ms | 488kb | Incorect | 0 |
8 | 12ms | 608kb | Incorect | 0 |
9 | 12ms | 680kb | Incorect | 0 |
10 | 12ms | 736kb | Incorect | 0 |
Punctaj total | 0 |