Pagini recente » Borderou de evaluare (job #1172760) | Borderou de evaluare (job #1025889) | Borderou de evaluare (job #3042764) | Borderou de evaluare (job #1985174) | Borderou de evaluare (job #1429967)
Borderou de evaluare (job #1429967)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:32:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&x);
^
user.cpp:48:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&q);
^
user.cpp:50:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld",&r,&k);
^
user.cpp:50:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:65:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",ans);
^
user.cpp:26:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rk.in","r",stdin);
^
user.cpp:27:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rk.out","w",stdout);
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
user.cpp:48:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&q);
^
user.cpp:50:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&r,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | Incorect | 0 |
2 | 0ms | 992kb | Incorect | 0 |
3 | 48ms | 7768kb | Incorect | 0 |
4 | 196ms | 14828kb | Incorect | 0 |
5 | 380ms | 15756kb | Incorect | 0 |
6 | 52ms | 7712kb | Incorect | 0 |
7 | 212ms | 15116kb | Incorect | 0 |
8 | Depăşit | 15764kb | Time limit exceeded. | 0 |
9 | Depăşit | 15760kb | Time limit exceeded. | 0 |
10 | 400ms | 15760kb | Incorect | 0 |
Punctaj total | 0 |