Pagini recente » Borderou de evaluare (job #1552273) | Borderou de evaluare (job #624228) | Borderou de evaluare (job #1605719) | Borderou de evaluare (job #1051195) | Borderou de evaluare (job #2569324)
Borderou de evaluare (job #2569324)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &n);
^
main.cpp:19:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &v[i]);
^
main.cpp:41:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", dp[1][n]);
^
main.cpp:13:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(infile, "r", stdin);
^
main.cpp:14:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile, "w", stdout);
^
main.cpp:16:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:19:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 262kb | OK | 10 |
4 | 3ms | 262kb | OK | 10 |
5 | 3ms | 393kb | OK | 10 |
6 | 4ms | 524kb | OK | 10 |
7 | 20ms | 917kb | OK | 10 |
8 | 66ms | 1310kb | OK | 10 |
9 | 128ms | 1703kb | Incorect | 0 |
10 | 294ms | 2228kb | Incorect | 0 |
Punctaj total | 80 |