Pagini recente » Borderou de evaluare (job #1405150) | Borderou de evaluare (job #3228676) | Borderou de evaluare (job #1695869) | Borderou de evaluare (job #2686832) | Borderou de evaluare (job #1371884)
Borderou de evaluare (job #1371884)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:13:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&p,&q);
^
user.cpp:13:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:23:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",v[n+2]-1);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unuzero.in","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unuzero.out","w",stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&p,&q);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | Incorect | 0 |
| 2 | 0ms | 432kb | Incorect | 0 |
| 3 | 0ms | 440kb | Incorect | 0 |
| 4 | 0ms | 444kb | Incorect | 0 |
| 5 | 0ms | 440kb | Incorect | 0 |
| 6 | 0ms | 444kb | Incorect | 0 |
| 7 | 0ms | 1372kb | Incorect | 0 |
| 8 | 20ms | 6564kb | Incorect | 0 |
| 9 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 24ms | 8532kb | Incorect | 0 |
| Punctaj total | 0 |