Pagini recente » Cod sursa (job #299846) | Borderou de evaluare (job #1716122) | Cod sursa (job #48631) | Cod sursa (job #1157724) | Borderou de evaluare (job #2657491)
Borderou de evaluare (job #2657491)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:50:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf ("%d\n", dp[p].c);
^
main.cpp:15:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("zebughil.in", "r", stdin);
^
main.cpp:16:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("zebughil.out", "w", stdout);
^
main.cpp:20:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%lld%lld", &n, &gmax);
^
main.cpp:22:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%lld", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 52ms | 2228kb | OK | 10 |
| 2 | 25ms | 1179kb | OK | 10 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 3ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | OK | 10 |
| 7 | 17ms | 1179kb | OK | 10 |
| 8 | 3ms | 131kb | OK | 10 |
| 9 | 3ms | 131kb | OK | 10 |
| 10 | 17ms | 1179kb | OK | 10 |
| Punctaj total | 100 |