Pagini recente » Borderou de evaluare (job #845130) | election | Borderou de evaluare (job #966635) | Borderou de evaluare (job #2272276) | Borderou de evaluare (job #1763365)
Borderou de evaluare (job #1763365)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n&&p<=a;++i){
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bitcost.in","r", stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bitcost.out","w", stdout);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &a, &b);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| ✓ | 1 | 20ms | 280kb | Incorect | 0 |
| ✗ | 2 | 4ms | 276kb | Incorect | 0 |
| ✓ | 3 | Depăşit | 276kb | Time limit exceeded. | 0 |
| ✗ | 4 | Depăşit | 276kb | Time limit exceeded. | 0 |
| ✗ | 5 | Depăşit | 256kb | Time limit exceeded. | 0 |
| ✗ | 6 | Depăşit | 252kb | Time limit exceeded. | 0 |
| ✗ | 7 | Depăşit | 252kb | Time limit exceeded. | 0 |
| ✗ | 8 | Depăşit | 260kb | Time limit exceeded. | 0 |
| ✓ | 9 | Depăşit | 260kb | Time limit exceeded. | 0 |
| ✗ | 10 | Depăşit | 256kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |