Pagini recente » Borderou de evaluare (job #564559) | Atasamentele paginii sdsdcsdf | Borderou de evaluare (job #2869706) | Borderou de evaluare (job #2863932) | Borderou de evaluare (job #1556728)
Borderou de evaluare (job #1556728)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for(j=1;j<=n;++j) printf("%ld %ld\n",j,v[i+j]);
^
user.cpp:11:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kreg.in","r",stdin);
^
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("kreg.out","w",stdout);
^
user.cpp:8:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&k,&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | CORECT | 10 |
| 2 | 4ms | 344kb | CORECT | 10 |
| 3 | 0ms | 264kb | CORECT | 10 |
| 4 | 4ms | 308kb | CORECT | 10 |
| 5 | 16ms | 344kb | CORECT | 10 |
| 6 | 32ms | 312kb | CORECT | 10 |
| 7 | 44ms | 332kb | CORECT | 10 |
| 8 | 16ms | 276kb | CORECT | 10 |
| 9 | 28ms | 336kb | CORECT | 10 |
| 10 | 96ms | 344kb | CORECT | 10 |
| Punctaj total | 100 |