Pagini recente » Borderou de evaluare (job #2846713) | Borderou de evaluare (job #1941129) | Borderou de evaluare (job #2826092) | Borderou de evaluare (job #77219) | Borderou de evaluare (job #2049218)
Borderou de evaluare (job #2049218)
Raport evaluator
Compilare:
user.cpp: In function ‘int add(int*, int*)’:
user.cpp:13: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:21:10: warning: no return statement in function returning non-void [-Wreturn-type]
a[0]=i-1;}
^
user.cpp: In function ‘int main()’:
user.cpp:29: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:30: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:32:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:34:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:37: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 | 276kb | Time limit exceeded. | 0 |
Punctaj total | 0 |