Pagini recente » Cod sursa (job #1655428) | Cod sursa (job #182685) | Cod sursa (job #586632) | Cod sursa (job #2107759) | Borderou de evaluare (job #1791426)
Borderou de evaluare (job #1791426)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<numar> >::value_type {aka numar}’ [-Wformat=]
printf("%d\n", v.front());
^
user.cpp:22:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, n, cr, nr, lg=0;
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("heapuri.in", "r", stdin);
^
user.cpp:25:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("heapuri.out", "w", stdout);
^
user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cr);
^
user.cpp:34:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:43:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | OK | 10 | 10 |
| 2 | 0ms | 268kb | OK | 10 | 10 |
| 3 | 0ms | 280kb | OK | 10 | 10 |
| 4 | 4ms | 372kb | OK | 10 | 10 |
| 5 | 24ms | 540kb | OK | 10 | 60 |
| 6 | 52ms | 804kb | OK | 10 |
| 7 | 104ms | 1156kb | OK | 10 |
| 8 | 100ms | 1184kb | OK | 10 |
| 9 | 108ms | 1476kb | OK | 10 |
| 10 | 104ms | 1476kb | OK | 10 |
| Punctaj total | 100 |