Borderou de evaluare (job #2349881)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:19: warning: unused variable 'x' [-Wunused-variable]
int n,h=1,i,m,x,nr,j;
^
main.cpp:11:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.in","r",stdin);
^
main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.out","w",stdout);
^
main.cpp:15:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:18:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
main.cpp:24:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:28:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 177ms | 131kb | OK | 10 |
4 | 158ms | 60162kb | Incorect | 0 |
5 | 183ms | 51380kb | Incorect | 0 |
6 | 140ms | 54132kb | Incorect | 0 |
7 | 287ms | 131kb | OK | 10 |
8 | 207ms | 21364kb | Incorect | 0 |
9 | 183ms | 29884kb | Incorect | 0 |
10 | 18ms | 5242kb | Incorect | 0 |
Punctaj total | 40 |