Pagini recente » Borderou de evaluare (job #24764) | Borderou de evaluare (job #2912985) | Borderou de evaluare (job #2127652) | Borderou de evaluare (job #732971) | Borderou de evaluare (job #2138461)
Borderou de evaluare (job #2138461)
Raport evaluator
Compilare:
user.cpp: In function ‘void knapsack()’:
user.cpp:12:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= p.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diamant.in", "r", stdin);
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diamant.out", "w", stdout);
^
user.cpp:26:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ", &n, &m, &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1504kb | OK | 10 |
| 2 | 0ms | 1496kb | OK | 10 |
| 3 | 0ms | 1516kb | Incorect | 0 |
| 4 | 0ms | 1516kb | Incorect | 0 |
| 5 | 0ms | 1508kb | Incorect | 0 |
| 6 | 4ms | 1536kb | OK | 10 |
| 7 | 76ms | 1684kb | OK | 10 |
| 8 | 204ms | 1852kb | Incorect | 0 |
| 9 | Depăşit | 2004kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2120kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |