Pagini recente » Borderou de evaluare (job #3132798) | Atasamentele paginii Nmult | Borderou de evaluare (job #2974205) | Borderou de evaluare (job #3295396) | Borderou de evaluare (job #1679043)
Borderou de evaluare (job #1679043)
Raport evaluator
Compilare:
user.cpp:4:0: warning: "NMAX" redefined [enabled by default]
#define NMAX 1000000
^
user.cpp:3:0: note: this is the location of the previous definition
#define NMAX 100000
^
user.cpp: In function ‘int main()’:
user.cpp:32:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&a,&b);
^
user.cpp:32:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:12:17: warning: unused variable ‘rez’ [-Wunused-variable]
int a,b,i,j,rez,l;
^
user.cpp:13:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in","r",stdin);
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out","w",stdout);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 452kb | OK | 10 | 10 |
| 2 | 0ms | 456kb | Incorect | 0 | 0 |
| 3 | 0ms | 516kb | Incorect | 0 | 0 |
| 4 | 72ms | 1044kb | Incorect | 0 | 0 |
| 5 | 88ms | 1044kb | Incorect | 0 | 0 |
| 6 | 540ms | 1164kb | Incorect | 0 |
| 7 | 556ms | 1388kb | Incorect | 0 | 0 |
| 8 | 640ms | 1628kb | Incorect | 0 | 0 |
| 9 | 716ms | 1628kb | Incorect | 0 | 0 |
| 10 | 788ms | 1632kb | Incorect | 0 | 0 |
| Punctaj total | 10 |