Pagini recente » Borderou de evaluare (job #1787554) | Borderou de evaluare (job #2249646) | Borderou de evaluare (job #2885835) | Borderou de evaluare (job #1977504) | Borderou de evaluare (job #1238979)
Borderou de evaluare (job #1238979)
Raport evaluator
Compilare:
user.cpp: In function ‘int solutie(int)’:
user.cpp:11:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else if(k==3)
^
user.cpp:6:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(2*k==niv)
^
user.cpp: In function ‘void back(int)’:
user.cpp:46:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(niv<=k*2)
^
user.cpp: In function ‘int main()’:
user.cpp:53: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:54: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:55: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 | 256kb | Incorect | 0 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 4ms | 252kb | Incorect | 0 |
6 | 0ms | 256kb | Incorect | 0 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 36ms | 256kb | Incorect | 0 |
9 | 0ms | 256kb | Incorect | 0 |
10 | Depăşit | 256kb | Time limit exceeded. | 0 |
Punctaj total | 0 |