Pagini recente » Borderou de evaluare (job #2419320) | Borderou de evaluare (job #2404491) | Borderou de evaluare (job #2402352) | Borderou de evaluare (job #2433859) | Borderou de evaluare (job #1632421)
Borderou de evaluare (job #1632421)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:13:9: warning: unused variable ‘i1’ [-Wunused-variable]
int i1,j1;
^
user.cpp:13:12: warning: unused variable ‘j1’ [-Wunused-variable]
int i1,j1;
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.out","w",stdout);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 4ms | 324kb | OK | 10 |
5 | 8ms | 384kb | OK | 10 |
6 | 12ms | 416kb | OK | 10 |
7 | 16ms | 480kb | Incorect | 0 |
8 | 12ms | 484kb | Incorect | 0 |
9 | 24ms | 540kb | OK | 10 |
10 | 28ms | 536kb | Incorect | 0 |
Punctaj total | 70 |