Pagini recente » Borderou de evaluare (job #2856953) | Borderou de evaluare (job #2197381) | Borderou de evaluare (job #1293687) | Borderou de evaluare (job #2248676) | Borderou de evaluare (job #1648872)
Borderou de evaluare (job #1648872)
Raport evaluator
Compilare:
user.cpp: In function ‘void task2()’:
user.cpp:42:12: warning: unused variable ‘len’ [-Wunused-variable]
int i, len;
^
user.cpp: In function ‘void read()’:
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risc2.in", "r", stdin);
^
user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &r, &n);
^
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i].h);
^
user.cpp: In function ‘void write()’:
user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risc2.out", "w", stdout);
^
user.cpp: In function ‘void task2()’:
user.cpp:43:9: warning: ‘ascn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int ascn, ascp, desc;
^
user.cpp:70:30: warning: ‘ascp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sol = n - max(ascn, ascp + desc);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | Corect | 5 |
| 2 | 0ms | 448kb | Corect | 5 |
| 3 | 0ms | 444kb | Corect | 5 |
| 4 | 0ms | 448kb | Corect | 5 |
| 5 | 0ms | 452kb | Corect | 4 |
| 6 | 0ms | 448kb | Corect | 4 |
| 7 | 0ms | 452kb | Corect | 4 |
| 8 | 0ms | 480kb | Corect | 4 |
| 9 | 0ms | 492kb | Corect | 4 |
| 10 | 0ms | 512kb | Corect | 4 |
| 11 | 0ms | 504kb | Corect | 4 |
| 12 | 0ms | 512kb | Corect | 4 |
| 13 | 0ms | 556kb | Corect | 4 |
| 14 | 0ms | 568kb | Corect | 4 |
| 15 | 0ms | 580kb | Corect | 5 |
| 16 | 0ms | 592kb | Corect | 5 |
| 17 | 0ms | 600kb | Corect | 5 |
| 18 | 0ms | 596kb | Corect | 5 |
| 19 | 0ms | 604kb | Corect | 5 |
| 20 | 0ms | 608kb | Corect | 5 |
| 21 | Depăşit | 2000kb | Time limit exceeded. | 0 |
| 22 | Depăşit | 2004kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |