Pagini recente » Borderou de evaluare (job #2077519) | Borderou de evaluare (job #2145874) | Borderou de evaluare (job #2149245) | Borderou de evaluare (job #2679314) | Borderou de evaluare (job #2023907)
Borderou de evaluare (job #2023907)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%dll", &n);
^
user.cpp:14:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%dll", &v[i]);
^
user.cpp: In function ‘void solve()’:
user.cpp:35:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n\n", dp[1][n]);
^
user.cpp: In function ‘void read()’:
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%dll", &n);
^
user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%dll", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.in", "r", stdin);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 10 |
2 | 0ms | 472kb | OK | 10 |
3 | 0ms | 524kb | OK | 10 |
4 | 0ms | 608kb | OK | 10 |
5 | 0ms | 640kb | OK | 10 |
6 | 4ms | 844kb | OK | 10 |
7 | 28ms | 1240kb | OK | 10 |
8 | 96ms | 1632kb | Incorect | 0 |
9 | 240ms | 2024kb | Incorect | 0 |
10 | 476ms | 2416kb | Incorect | 0 |
Punctaj total | 70 |