Pagini recente » Borderou de evaluare (job #1566980) | Borderou de evaluare (job #2394967) | Borderou de evaluare (job #772635) | Borderou de evaluare (job #748985) | Borderou de evaluare (job #2049209)
Borderou de evaluare (job #2049209)
Raport evaluator
Compilare:
user.cpp: In function ‘int add(int*, int*)’:
user.cpp:10: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:17:10: warning: no return statement in function returning non-void [-Wreturn-type]
a[0]=i-1;}
^
user.cpp: In function ‘int main()’:
user.cpp:24: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:25: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:27:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:29:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32: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 |