Pagini recente » Borderou de evaluare (job #1190210) | Borderou de evaluare (job #491067) | Borderou de evaluare (job #427974) | Borderou de evaluare (job #3158172) | Borderou de evaluare (job #2169749)
Borderou de evaluare (job #2169749)
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 | 1508kb | OK | 10 |
| 2 | 0ms | 1600kb | OK | 10 |
| 3 | 0ms | 1512kb | OK | 10 |
| 4 | 0ms | 1532kb | OK | 10 |
| 5 | 0ms | 1548kb | OK | 10 |
| 6 | 0ms | 1488kb | Incorect | 0 |
| 7 | 0ms | 1536kb | OK | 10 |
| 8 | 0ms | 1540kb | OK | 10 |
| 9 | 0ms | 1540kb | OK | 10 |
| 10 | 0ms | 1500kb | OK | 10 |
| Punctaj total | 90 |