Pagini recente » Borderou de evaluare (job #617812) | Borderou de evaluare (job #760842) | Borderou de evaluare (job #956859) | Borderou de evaluare (job #920184) | Borderou de evaluare (job #2169735)
Borderou de evaluare (job #2169735)
Raport evaluator
Compilare:
user.cpp: In function ‘int ciur(int)’:
user.cpp:19:13: warning: no return statement in function returning non-void [-Wreturn-type]
prim[++u]=i;}
^
user.cpp: In function ‘int main()’:
user.cpp:45:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a>1)
^
user.cpp:30:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv.in","r",stdin);
^
user.cpp:31:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv.out","w",stdout);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1432kb | OK | 10 |
| 2 | 0ms | 1540kb | OK | 10 |
| 3 | 0ms | 1500kb | OK | 10 |
| 4 | 0ms | 1540kb | OK | 10 |
| 5 | 0ms | 1544kb | OK | 10 |
| 6 | 0ms | 1444kb | Incorect | 0 |
| 7 | 0ms | 1540kb | OK | 10 |
| 8 | 0ms | 1600kb | OK | 10 |
| 9 | 0ms | 1504kb | OK | 10 |
| 10 | 0ms | 1516kb | OK | 10 |
| Punctaj total | 90 |