Pagini recente » Borderou de evaluare (job #2359029) | Borderou de evaluare (job #1096686) | Borderou de evaluare (job #623812) | Borderou de evaluare (job #1864344) | Borderou de evaluare (job #2041137)
Borderou de evaluare (job #2041137)
Raport evaluator
Compilare:
user.cpp: In function ‘int impart(int*, int*, int)’:
user.cpp:12:23: warning: no return statement in function returning non-void [-Wreturn-type]
a[++a[0]]=t%10,t=t/10;}
^
user.cpp: In function ‘int adun(int*, int*)’:
user.cpp:33:8: warning: no return statement in function returning non-void [-Wreturn-type]
a[0]--;}
^
user.cpp: In function ‘int main()’:
user.cpp:35:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sqrt.in","r",stdin);
^
user.cpp:36:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sqrt.out","w",stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 308kb | OK | 10 |
| 2 | 0ms | 312kb | OK | 10 |
| 3 | 0ms | 312kb | Incorect | 0 |
| 4 | 0ms | 312kb | Incorect | 0 |
| 5 | 0ms | 308kb | Incorect | 0 |
| 6 | 0ms | 316kb | OK | 10 |
| 7 | 40ms | 328kb | Incorect | 0 |
| 8 | 40ms | 332kb | Incorect | 0 |
| 9 | 28ms | 324kb | OK | 10 |
| 10 | 28ms | 332kb | OK | 10 |
| Punctaj total | 50 |