Pagini recente » Borderou de evaluare (job #664417) | Borderou de evaluare (job #3177102) | Borderou de evaluare (job #2418035) | Borderou de evaluare (job #523920) | Borderou de evaluare (job #1568703)
Borderou de evaluare (job #1568703)
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: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 | 272kb | OK | 10 |
2 | 4ms | 308kb | OK | 10 |
3 | 24ms | 396kb | OK | 10 |
4 | 28ms | 424kb | OK | 10 |
5 | 40ms | 472kb | OK | 10 |
6 | 48ms | 512kb | OK | 10 |
7 | 76ms | 664kb | OK | 10 |
8 | Depăşit | 796kb | Time limit exceeded. | 0 |
9 | Depăşit | 812kb | Time limit exceeded. | 0 |
10 | Depăşit | 896kb | Time limit exceeded. | 0 |
Punctaj total | 70 |