Pagini recente » Borderou de evaluare (job #166357) | Borderou de evaluare (job #1787558) | Borderou de evaluare (job #2210003) | Borderou de evaluare (job #1129274) | Borderou de evaluare (job #1239394)
Borderou de evaluare (job #1239394)
Raport evaluator
Compilare:
user.cpp: In function ‘int solutie(int)’:
user.cpp:15:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else if(k==3)
^
user.cpp:10:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(2*k==niv)
^
user.cpp: In function ‘void back(int)’:
user.cpp:79:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(niv<=k*2)
^
user.cpp: In function ‘int main()’:
user.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bilete.in","r",stdin);
^
user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bilete.out","w",stdout);
^
user.cpp:88:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | Incorect | 0 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 0ms | 244kb | Incorect | 0 |
4 | 0ms | 244kb | Incorect | 0 |
5 | 0ms | 248kb | Incorect | 0 |
6 | 0ms | 244kb | Incorect | 0 |
7 | 0ms | 244kb | Incorect | 0 |
8 | 0ms | 244kb | Incorect | 0 |
9 | 0ms | 240kb | Incorect | 0 |
10 | 32ms | 1196kb | OK | 10 |
Punctaj total | 10 |