Pagini recente » Borderou de evaluare (job #1001987) | Borderou de evaluare (job #3180190) | Borderou de evaluare (job #3181271) | Borderou de evaluare (job #142036) | Borderou de evaluare (job #1555237)
Borderou de evaluare (job #1555237)
Raport evaluator
Compilare:
user.cpp: In function ‘int verificare(int)’:
user.cpp:18:19: warning: unused variable ‘gasit’ [-Wunused-variable]
int nre=0, i, gasit=1, b=0, j;
^
user.cpp: In function ‘void bkt(int, int)’:
user.cpp:54:29: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
echipe[i]+=(1<<k-1);
^
user.cpp:56:29: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
echipe[i]-=(1<<k-1);
^
user.cpp: In function ‘int main()’:
user.cpp:64:15: warning: unused variable ‘nr’ [-Wunused-variable]
int i, j, nr=0;
^
user.cpp:62:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.in", "r", stdin);
^
user.cpp:63:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.out", "w", stdout);
^
user.cpp:66:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 276kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 4ms | 276kb | OK | 10 |
| 6 | 4ms | 276kb | OK | 10 |
| 7 | 32ms | 280kb | OK | 10 |
| 8 | 40ms | 276kb | OK | 10 |
| 9 | 36ms | 276kb | OK | 10 |
| 10 | 36ms | 276kb | OK | 10 |
| Punctaj total | 100 |