Pagini recente » Borderou de evaluare (job #773512) | Borderou de evaluare (job #769547) | Borderou de evaluare (job #1166012) | Borderou de evaluare (job #1206681)
Borderou de evaluare (job #1206681)
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:59: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 | 268kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 12ms | 416kb | Incorect | 0 |
4 | 24ms | 612kb | OK | 10 |
5 | 36ms | 744kb | OK | 10 |
6 | 48ms | 884kb | Incorect | 0 |
7 | 72ms | 1240kb | OK | 10 |
8 | 96ms | 1444kb | Incorect | 0 |
9 | 128ms | 1656kb | Incorect | 0 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 60 |