Pagini recente » Cod sursa (job #2197342) | Cod sursa (job #1946751) | Cod sursa (job #346563) | Cod sursa (job #1421850) | Borderou de evaluare (job #1680188)
Borderou de evaluare (job #1680188)
Raport evaluator
Compilare:
user.cpp: In function ‘int cauta1(int*, int, int, int)’:
user.cpp:5:11: warning: unused variable ‘better’ [-Wunused-variable]
int mid, better;
^
user.cpp: In function ‘int main()’:
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:47:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:49:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:51:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:54:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nr, &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | Depăşit | 276kb | Time limit exceeded. | 0 | 0 |
| 2 | 0ms | 284kb | OK | 10 | 10 |
| 3 | 0ms | 292kb | OK | 10 | 10 |
| 4 | Depăşit | 296kb | Time limit exceeded. | 0 | 0 |
| 5 | 24ms | 320kb | OK | 10 | 20 |
| 6 | 80ms | 476kb | OK | 10 |
| 7 | 120ms | 672kb | OK | 10 | 40 |
| 8 | 120ms | 668kb | OK | 10 |
| 9 | 124ms | 672kb | OK | 10 |
| 10 | 124ms | 672kb | OK | 10 |
| Punctaj total | 80 |