Pagini recente » Borderou de evaluare (job #1458642) | Borderou de evaluare (job #709478) | Borderou de evaluare (job #2253042) | Borderou de evaluare (job #2125460) | Borderou de evaluare (job #1686188)
Borderou de evaluare (job #1686188)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ",k);
^
user.cpp:31:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for(i=1;i<=k;++i) printf("%ld ",v[i]);
^
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("ausoara.in","r",stdin); freopen("ausoara.out","w",stdout);
^
user.cpp:8:71: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("ausoara.in","r",stdin); freopen("ausoara.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d",&m);
^
user.cpp:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2240kb | OK | 10 |
2 | 4ms | 2244kb | OK | 10 |
3 | 4ms | 2244kb | OK | 10 |
4 | 4ms | 2244kb | OK | 10 |
5 | 4ms | 2240kb | OK | 10 |
6 | 8ms | 2240kb | OK | 10 |
7 | 16ms | 2240kb | OK | 10 |
8 | 16ms | 2244kb | OK | 10 |
9 | 28ms | 2244kb | OK | 10 |
10 | 40ms | 3204kb | OK | 10 |
Punctaj total | 100 |