Pagini recente » Borderou de evaluare (job #1943749) | Borderou de evaluare (job #275817) | Borderou de evaluare (job #1866652) | Borderou de evaluare (job #235560) | Borderou de evaluare (job #2049211)
Borderou de evaluare (job #2049211)
Raport evaluator
Compilare:
user.cpp: In function ‘int add(int*, int*)’:
user.cpp:11:10: warning: no return statement in function returning non-void [-Wreturn-type]
a[0]=i-1;}
^
user.cpp: In function ‘int mult(int*, int)’:
user.cpp:19:10: warning: no return statement in function returning non-void [-Wreturn-type]
a[0]=i-1;}
^
user.cpp: In function ‘int main()’:
user.cpp:27:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("resturi.in","r",stdin);
^
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("resturi.out","w",stdout);
^
user.cpp:30:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:32:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 284kb | Time limit exceeded. | 0 |
Punctaj total | 0 |