Pagini recente » Borderou de evaluare (job #2968995) | Borderou de evaluare (job #235733) | Borderou de evaluare (job #3282382) | Borderou de evaluare (job #2975712) | Borderou de evaluare (job #1609608)
Borderou de evaluare (job #1609608)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:11: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
k=1<<n-1;
^
user.cpp:60:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("avd.in","r",stdin);
^
user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("avd.out","w",stdout);
^
user.cpp:62:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld",&teste);
^
user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld",&n);
^
user.cpp:73:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld%ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 324kb | OK | 10 |
2 | 8ms | 328kb | OK | 10 |
3 | 32ms | 324kb | OK | 10 |
4 | 172ms | 324kb | OK | 10 |
5 | 168ms | 320kb | OK | 10 |
6 | 168ms | 320kb | OK | 10 |
7 | 92ms | 328kb | OK | 10 |
8 | 4ms | 328kb | OK | 10 |
9 | 0ms | 320kb | OK | 10 |
10 | 0ms | 324kb | OK | 10 |
Punctaj total | 100 |