Pagini recente » Borderou de evaluare (job #1499483) | Borderou de evaluare (job #2055379) | Borderou de evaluare (job #2500038) | Borderou de evaluare (job #2498806) | Borderou de evaluare (job #1568709)
Borderou de evaluare (job #1568709)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[1]);
^
user.cpp:9:11: warning: unused variable ‘x’ [-Wunused-variable]
int n,k,i,x,maxx,in,sf;
^
user.cpp:9:18: warning: unused variable ‘in’ [-Wunused-variable]
int n,k,i,x,maxx,in,sf;
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("secventa.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secventa.out","w",stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[1]);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%hd",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 4ms | 308kb | OK | 10 |
| 3 | 24ms | 404kb | OK | 10 |
| 4 | 28ms | 420kb | OK | 10 |
| 5 | 40ms | 472kb | OK | 10 |
| 6 | 44ms | 508kb | OK | 10 |
| 7 | 80ms | 664kb | OK | 10 |
| 8 | Depăşit | 864kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 832kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 796kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |