Pagini recente » cerc | Cerc | Borderou de evaluare (job #257792) | Borderou de evaluare (job #3164344) | Borderou de evaluare (job #1206687)
Borderou de evaluare (job #1206687)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld",&n,&m);
^
user.cpp:39:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:43:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&a[k]);
^
user.cpp:56:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&x);
^
user.cpp:60:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",s[loc]+x*(n-loc));
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in","r",stdin);
^
user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out","w",stdout);
^
user.cpp:39:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:43:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&a[k]);
^
user.cpp:53:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&q);
^
user.cpp:56:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 12ms | 428kb | OK | 10 |
| 4 | 24ms | 612kb | OK | 10 |
| 5 | 36ms | 740kb | OK | 10 |
| 6 | 48ms | 888kb | OK | 10 |
| 7 | 68ms | 1244kb | OK | 10 |
| 8 | 92ms | 1448kb | OK | 10 |
| 9 | 128ms | 1668kb | OK | 10 |
| 10 | 0ms | 256kb | OK | 10 |
| Punctaj total | 100 |